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 are the call back methods in entity bean?
Explain RMI Architecture?
Which javutil classes and interfaces support event handling?
Should synchronization primitives be used on bean methods?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
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
What is the relationship between local interfaces and container-managed relationships?
how i secure my site with the https protocol.what are the steps?
Why a component architecture for the java platform?
Can I map more than one table in a cmp?
What is synchronization and why is it important?
what are the activation groupworks?
Explain the steps in details to load the server object dynamically?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
When a thread blocks on i/o, what state does it enter?