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 are the jobs performed by servlets?
What is URL Encoding?
What is the use of servlet context?
Explain servlet events?
How to get the IP address of client in servlet?
How to generate the server side programming and the advantages of it over the other languages?
If a servlet is not properly initialized, what exception may be thrown?
How does java thread pool work?
What is the directory structure of web application?
Write a servlet to upload file on server.
How will two or three servlets interact or communicate with each other?
What do you mean by cgi and what are its drawbacks?
What do you mean by request dispatcher in servlet?
What is the inter-servlet communication?
What is MIME Type?