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 pass parameters in RMI?
the same information whether it will connect to the database or it will be used previous information?
Are we allowed to change the transaction isolation property in middle of a transaction?
What is meant by method chaining?
What is colon_pkg_prefixes and what is its use?
What are the sequence of steps to write pub or sub model kind of application?
Why a client should be multithreading? Explain.
how i secure my site with the https protocol.what are the steps?
Are there books about seam?
What is the relationship between local interfaces and container-managed relationships?
What is glasgow?
what is a portable component?
Difference between loadclass and class.forname?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
Why won’t the jvm terminate when I close all the application windows?