Why does most servlets extend HttpServlet?

Answer Posted / magesh

The GenericServlet which is the base class of HttpServlet
does not have any handler methods (doGet or doPost) to
entertain the request.Since all web based application or
HHTP based we are extending the HttpServlet and overrinding
atleast one of the hanler methods to entertain the incoming
requests

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

544


What is ioc concept?

689


What are the different methods of identifying an object?

573


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

1630


How messaging services are done, before release of JMS?

1585






What is the immediate superclass of the applet class?

599


hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me

1779


How a component can be placed on Windows?

2264


What is the difference between session and entity beans?

578


What is threadfactory?

614


What is JTS?

1862


What is the difference between RMI registry and OS Agent?

628


What are the services in RMI ?

1884


What is TL and its use?

1989


How would you reatach detached objects to a session when the same object has already been loaded into the session?

677