What is Generic Servlet and how it is different from Http
Servlet?
Answer Posted / devarathnam
Hi...The main difference between the Generic and
HttpServlet is :Generic Servlet is Protocol Independent
Where as HttpServlet is protocol dependent ,supports only
HTTP Protocols.And it is a sub class of
GenericServlet,HttpServlet is a Abstract class.
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
Can you send an authentication error from a servlet?
Explain how to improve Servlet Performance?
What are the different methods of session management in servlets?
Why doesn’t a servlet include main()?
What is Client-Server Computing?
Explain the difference between servletconfig and servletcontext in servlet?
How can we refresh automatically when new data is entered into the database?
What is servlet collaboration?
What is the difference between get and post methods?
Why servlet is faster than jsp?
What is the directory structure of web application?
What are the benefits of using servlet over cgi?
What is war file?
How to get the current httpsession object?
What is the difference between Server and Container?