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


Please Help Members By Posting Answers For Below Questions

What is java servlet session?

708


What is the difference between Server and Container?

858


Is that servlet is pure java object or not?

806


Explain jsessionid?

790


If a servlet is not properly initialized, what exception may be thrown?

846


What is servlet in simple terms?

771


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 ?

811


What are the functions of Servlet container?

808


What is the major difference between servlet and applet?

736


What are the type of protocols used in httpservlet?

783


what do you understand by url rewriting?

700


What are the phases of the servlet life cycle?

791


What is a deployment descriptor?

824


What's the servlet interface?

809


What are the common methods that are included in the http servlet class?

779