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
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
what are RemoteObjects?
What do you mean by Socket Programming?
What do you know about seam?
What is synchronization and why is it important?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
Describe, in general, how java's garbage collector works?
Which containers use a border layout as their default layout?
What is the difference between a menuitem and a checkboxmenuitem?
How primary key is implemented in Oracle?
what is an isolation level?
What are the different approaches to represent an inheritance hierarchy?
what is Activation Instantinator?
what is handle?
What is the difference between the session.update() method and the session.lock() method?