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
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is ioc concept?
What are the different methods of identifying an object?
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?
How messaging services are done, before release of JMS?
What is the immediate superclass of the applet class?
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
How a component can be placed on Windows?
What is the difference between session and entity beans?
What is threadfactory?
What is JTS?
What is the difference between RMI registry and OS Agent?
What are the services in RMI ?
What is TL and its use?
How would you reatach detached objects to a session when the same object has already been loaded into the session?