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

How can we achieve transport layer security for our web application?

776


What is difference between get and post method?

762


What is a cookie What is the difference between session and cookie

809


What are the phases of the servlet life cycle?

795


What is the difference between encodeRedirectUrl and encodeURL?

828


What is generic servlet class?

798


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

786


What are the annotations used in servlet 3?

753


How do cookies work in servlets?

786


What is a deployment descriptor?

835


Why the container loads server at the application startup and how?

784


What is a java servlet?

759


What is meant by cookies?

832


What are important features of Servlet 3?

802


Describe servlet?

766