What are different types of Servlets?

Answer Posted / gaurav khanzode

Types of Servlet:

1.Generic Servlet : It is base class from which all Servlets
are derived.

2.HTTP Servlet : It is Extended by Generic Servlet.

Is This Answer Correct ?    30 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define the servlet mapping.

550


How do we go with database connection and log4j integration in servlet?

710


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

583


What methods do you use in servlet - applet communication?

586


What is the structure of the http response

679






Which event is fired at the time of session creation and destroy?

883


What are the servlet events?

598


What is the difference between jsp and servlet life cycle?

693


What is http servlet?

586


How do cookies work in servlets?

587


How do you define a servlet?

530


Which method of the httpservletrequest object is used?

576


What are the differences between forward() method and sendredirect() methods?

555


Why don't we write a constructor in a servlet?

594


What is the difference between the http servlet and generic servlet?

606