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
What do you mean by singlethreadmodel interface?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
How can we perform any action at the time of deploying the project?
What is the web server used for running the Servlets?
What are the functions of the servlet container?
Which are the different ways you can communicate between servlets?
Is java servlet still used?
Is servlet a framework?
How can we include static files in the jsp page?
How to rectify errors in java servlet while compilation?
What do you mean by request dispatcher in servlet? Also explain its methods.
How is a servlet implemented in code?
Differentiate between get and post?
Why jsp is better than servlet?
Name the packages that work with servlet?