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 would you create deadlock on your servlet?

848


What is servlet in simple terms?

788


What is load-on-startup in servlet?

813


Can you explain in detail 'javax.servlet' package?

763


What is meant by session? Tell me something about httpsession class?

796


Is that servlet is pure java object or not?

823


Can we override servlet service method?

834


Explain mvc pattern.

774


What are the different methods involved in the process of session management in servlets?

913


What are the objects involved when a servlet receives a call from client?

761


Can servlet have a constructor ?

805


Does servlet have main method?

913


What's the use of servletcontext?

884


Difference between get and post in java servlets?

761


What is the difference between Servlets and Applets?

760