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?

594


Can we refresh servlet in client and server side automatically?

583


What is servlet invoker?

595


What is servlet lazy loading?

686


Explain the servlet context.

594






What is called Session Tracking?

590


What is java servlet session?

517


Which method of the httpservletrequest object is used?

556


What is dispatcher servlet?

548


Which is better jsp or servlet?

545


Can you send an authentication error from a servlet?

511


What is servlet container. how it works?

603


What are the uses of servlet and what is servlet chaining?

553


Explain url encoding?

512


Differentiate between the print writer and servlet output stream?

554