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 restrictions are placed on the values of each case of a switch statement?
If your ui seems to freeze periodically, what might be a likely reason?
What are the call back methods in entity bean?
What is a session? Can you share a session object between different theads?
Should synchronization primitives be used on bean methods?
whats is mean by tiles in struts
Is the infobus client side only?
Can I use multiple html form elements with the same name?
Are we allowed to change the transaction isolation property in middle of a transaction?
Can I use javascript to submit a form?
What is TL and its use?
Have you used threads in Servelet?
What is aop(assepct oriented programing)?
What is the relation between the infobus and rmi?
Are enterprise beans allowed to use thread.sleep()?