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 are the ways to handle multi-threading in servlets?
What is servlet and how it works?
How do I know if java is running on linux?
What is Servlets and explain the advantages of Servlet life cycle?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Is servlet a framework?
What are different methods of session management in servlets?
Why HttpServlet class is declared abstract?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What is a servlet engine?
How to commuincate between an applet and a servlet?
What is generic servlet class?
Why is Servlet so popular?
How would you create deadlock on your servlet?
What is the use of send redirect () method?