why are extending GenericServlet and why are extending
HttpServlet explain?
Answer Posted / nishidh soni
if the request from the is HTTP specific the we are extending HTTPServlet and if the request if from protocol independent then we are extending GenericServlet
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you mean by filter in servlet?
What do you mean by default initialization in java servlet?
How servlet is created?
List some life cycle methods of a servlet.
Servlet is pure java object or not?
Name the different ways of session tracking.
What is the GenericServlet class?
When Servlet is unloaded?
What do you mean by annotations in servlet?
How can we create deadlock situation in servlet?
What is the difference between context parameter and context attribute?
What do you mean by singlethreadmodel interface?
request parameter how to find whether a parameter exists in the request object?
What is new in ServletRequest interface ? (Servlet 2.4)
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify