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 is java servlet session?
What is the difference between Server and Container?
Is that servlet is pure java object or not?
Explain jsessionid?
If a servlet is not properly initialized, what exception may be thrown?
What is servlet in simple terms?
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 are the functions of Servlet container?
What is the major difference between servlet and applet?
What are the type of protocols used in httpservlet?
what do you understand by url rewriting?
What are the phases of the servlet life cycle?
What is a deployment descriptor?
What's the servlet interface?
What are the common methods that are included in the http servlet class?