What are different types of Servlets?
Answers were Sorted based on User's Feedback
The different types of servlets are
Generic Servlets
Http Servlets
Is This Answer Correct ? | 173 Yes | 11 No |
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 |
Answer / tanu
types of servel are:
1.generic servlet
2.Http servlet
Is This Answer Correct ? | 76 Yes | 7 No |
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 |
Answer / priyanka prataprao pawde.
two types of servlets:
1.Generic Servlets.
2.HTTP Servlets.
Is This Answer Correct ? | 34 Yes | 6 No |
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 |
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 |
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 |
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 |
What are the differences between the servletconfig interface and the servletcontext interface?
what is the difference between Servlet and JSP?Advantage of JSP over Servelt?Any concept present in JSP which we cant implement in Servlet?
31 Answers ABC, Apere, AZTEC, CTS, CybAge, iFlex, Impact Systems, Sara, TCS,
how can we create object to a class in a jsp file?
5 Answers Accenture, L&T, TCS,
What is the use of request dispatcher interface?
What is DSN and System DSN and what is the difference between them?
why business logic written using servlets not in jsp. Jsp used for presentation purpose. serlvet used for coding business logic and controller logic. Reason for using servlets in business logic.
Why the concept of single thread model interface is used?
What is session?
Is Servlet Class Thread safe?????? How to make servlet Thread safe ???
Why servlet is faster than jsp?
Can we fetch the attributes related to a servlet on a different servlet?
How do you get the ip address of the client in servlet?