why are extending GenericServlet and why are extending
HttpServlet explain?

Answer Posted / nishidh soni

if the request from the is HTTP specific the we are extending HTTPServlet and if the request if from protocol independent then we are extending GenericServlet

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you communicate in between Applets and Servlets?

586


What if you need to span your transaction across multiple servlet invocations?

571


What do you mean by a filter and how does it work?

535


Difference between java beans & servlets?

583


What are the life cycle methods of the servlet?

573






What do you mean by web applications?

621


Whether we can get deadlock situation in servlets?

572


Whats the advantages using servlets over using CGI?

578


What is the difference between a generic servlet and http servlet?

516


How do you create a cookie using servlet?

575


What is the web server used for running the Servlets?

573


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

1736


What are the key methods that are involved in processing of http servlets?

618


Why is Servlet so popular?

610


What are the phases of servlet life cycle?

599