why are extending GenericServlet and why are extending
HttpServlet explain?

Answer Posted / dinesh goud

why bcoz,this GenricServlet and HttpServlet are implementing the Servlet interface..............

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain mvc pattern.

812


What methods do you use in servlet - applet communication?

832


Explain jsessionid and when is it created?

834


What are the advantages of Servlet over CGI?

890


What are the advantages of servlets over traditional cgi?

850


If a servlet is not properly initialized, what exception may be thrown?

912


List some life cycle methods of a servlet.

815


How can you run a servlet program?

831


Who is responsible to create the object of servlet?

959


Which java framework is most popular?

817


How is an application exception handling is done using a servlet?

784


What are the different ways we can maintain state between requests?

812


How do servlets work?

799


Explain the difference between jsp and servlet?

811


What is difference between PrintWriter and ServletOutputStream?

1024