Why does most servlets extend HttpServlet?
Answer Posted / surajkumar.java
Yes, HttpServlet simplifies the handling of HTTP protocol but there is no hard and fast rule that the servlet class must extend abstract HttpServlet class. it may extend GenericServlet class to make the Servlet protocol independent.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is a session? Can you share a session object between different theads?
Can I map more than one table in a cmp?
Describe responsibilities of Activator?
Is “abc” a primitive value?
What is RMI and what are the services in RMI?
How task's priority is used in scheduling?
What are the purpose of introspection?
What is the difference between the session.update() method and the session.lock() method?
What are externizable interface?
What restrictions are placed on the location of a package statement within a source code file?
Explain what is synchronization?
How messaging services are done, before release of JMS?
Explain about thread synchronization inside a monitor?
Why use a datasource when you can directly specify a connection details?
How to determine SGA site?