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
Explain about RMI Architecture?
What are the different types of exception?
What is jboss?
What are the different algorithms used for clustering?
What is a session? Can you share a session object between different theads?
Why does the option tag render selected=selected instead of just selected?
Can I use multiple html form elements with the same name?
what are getters and setters in Java with examples?
Do you think that java should have had pointers?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
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?
What is the difference between long.class and long.type?
What is glasgow?
Difference between DurableSubscription and non- DurableSubscription?
What is JTS?