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 colon_pkg_prefixes and what is its use?
the same information whether it will connect to the database or it will be used previous information?
What does module-relative mean?
What is the difference between RMI registry and OS Agent?
Explain the difference between object state and behavior?
Where can I ask questions and make suggestions about seam?
Describe activation process?
Which textcomponent method is used to set a textcomponent to the read-only state?
What is the purpose of the finally clause of a try-catch-finally statement?
What are the sequence of steps to write pub or sub model kind of application?
Explain the different types of memory used by jvm?
What are transaction attributes?
What is jboss?
What is chat area? Explain.
What is Remote Server?