What are the difference between HttpServlet and
GenericServlets?

Answer Posted / himanshu verma

Generic Servlet is the general class to implement servlets.
it can use any protocol like MIME, SMTP etc. while HTTP
Servlet is specially designed for HTTP protocol.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you deal property files in servlet?

820


What are the uses of servlets?

843


Can we use threads in Servlets?

874


Can filter be used as request or response?

756


Explain the difference between generic servlet and http servlet?

757


What are the new features added to servlet 2.5?

871


What is servlet and its use?

849


What are all the advantages of servlet over cgi?

831


What's the difference between authentication and authorization?

839


Explain the architechure of a servlet?

865


What is webservlet?

762


How to get the server information in a servlet?

921


Explain the servlet context.

835


How can we create deadlock situation in servlet?

1099


Explain is servlet mapping?

789