What are different types of Servlets?

Answers were Sorted based on User's Feedback



What are different types of Servlets?..

Answer / tulasi vani

The different types of servlets are

Generic Servlets
Http Servlets

Is This Answer Correct ?    173 Yes 11 No

What are different types of Servlets?..

Answer / nagireddy

The different types of servlets are there.that is many user
defined servlets and mostly used and important servlets are
two types
1)Generic servlets
2)HttpServlets

Is This Answer Correct ?    107 Yes 13 No

What are different types of Servlets?..

Answer / tanu

types of servel are:
1.generic servlet
2.Http servlet

Is This Answer Correct ?    76 Yes 7 No

What are different types of Servlets?..

Answer / jyoti

HttpServlet
Generic Servlet

Is This Answer Correct ?    39 Yes 4 No

What are different types of Servlets?..

Answer / praveen kumar

There are two types of servlets Generic Servlet and HttpServlet.
Generic Servlet defines protocol indipendent servlet,
HttpServlet is a subclass of GenericServlet and it provies
some Http protocol specific functionality.

Is This Answer Correct ?    38 Yes 5 No

What are different types of Servlets?..

Answer / priyanka prataprao pawde.

two types of servlets:

1.Generic Servlets.
2.HTTP Servlets.

Is This Answer Correct ?    34 Yes 6 No

What are different types of Servlets?..

Answer / 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

What are different types of Servlets?..

Answer / ram

Servlets are of two types.

1) protocol independent servlet.
2) protocol dependent servlet.


Generic servlet is protocol independent servlet. It supports for HTTP, FTP and SMTP protocols.

HTTPServlet is protocol dependent servlet. So it support for only HTTp protocols only thats why it is dependent....

Is This Answer Correct ?    27 Yes 6 No

What are different types of Servlets?..

Answer / shanmuk

At present in the market as all the popular webservers are using http protocol, we are using HttpServlet(by deriving some features from the GenerivServlet) .... and if in the future any webserver is developed based on the other protocols we need to define a new servlet. so, .....................

Is This Answer Correct ?    15 Yes 4 No

What are different types of Servlets?..

Answer / ilavarapu brahmaiah

servlets are can
be classified
into two type.
They can be
include
1.generic
servlets
2.http
servlets

Is This Answer Correct ?    9 Yes 2 No

Post New Answer

More Servlets Interview Questions

hi.... i have problem in running of servlet. i am using Tomcat server in my pc.. The problem is when i am click on strat it will display like below FAIL - Application at context path /first could not be started.. How i can slove the problem.. help plz

3 Answers  


How we can create war file in servlet?

0 Answers  


What is the functionality of actionservlet and requestprocessor?

0 Answers  


can u give some realtime example in ploymorphism? and inheritance?

11 Answers   SolutionNET,


How can you maintain servlet chaining?

1 Answers  


Why the concept of single thread model interface is used?

0 Answers  


How can a servlet refresh automatically if some new data has entered the database?

3 Answers   Citi Bank, CitiGroup, IBM, Satyam,


Define declaration.

0 Answers  


What is the advantage of Servlets when compared with other server side technologies?

0 Answers  


What do you mean by request dispatcher in servlet? Also explain its methods.

0 Answers  


What is generic servlet class?

0 Answers  


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

0 Answers  


Categories