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 database connectivity in XML is achieved?
how do you Handle Front End Application data against DB with example?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
Is the session factory thread safe?
how i secure my site with the https protocol.what are the steps?
the same information whether it will connect to the database or it will be used previous information?
Can I map more than one table in a cmp?
Which javutil classes and interfaces support event handling?
How are commas used in the intialization and iteration parts of a for statement?
whats is mean by tiles in struts
What are transaction attributes?
What are the pros and cons of detached objects?
what are memory considerations of jsp compares to other web components?
What is an abstract method?
How will you pass parameters in RMI? Why do you serialize?