Types of Servlets?

Showing Answers 1 - 14 of 14 Answers

madhuri

  • Sep 30th, 2005
 

there r so many types of servlets.servlet maens which programetically extend the functionality of webserver.all webservers r developed according to http protocol.if we have server developed using ftp and other potocols then we get other types of servlets also.

  Was this answer useful?  Yes

Not so clear with the type of Servelets.... The answer is as below:-

Servlets must implement the interface javax.servlet.Servlet. There are two main types of servlets: 

  • Generic servlets extend javax.servlet.GenericServlet. Generic servlets are protocol independent, meaning that they contain no inherent support for HTTP or any other transport protocol. 

  • HTTP servlets extend javax.servlet.HttpServlet. These servlets have built-in support for the HTTP protocol and are much more useful in an Browser environment

  Was this answer useful?  Yes

saf

  • Nov 3rd, 2005
 

HttpServletand Generic Servlet

  Was this answer useful?  Yes

nirmaa

  • Nov 16th, 2005
 

1.generic servlet

2.http servlet

3.user defined

  Was this answer useful?  Yes

siva kumar reddy

  • Jul 31st, 2006
 

servlets are two types

1.direct servlet:servlet is implemented from javax.sevlet.Servlet interface

2.indirect servlet:we devleloped the servlets to extend the generic servlets or httpservlets are our own servlets.

cheers

siva

  Was this answer useful?  Yes

Rakesh

  • May 29th, 2007
 

There are three types of servlet :
1. GenericServlet
2. HttpServlet
3. User Defined: by extending above or by implementing servlet interface.

  Was this answer useful?  Yes

naga

  • Jul 11th, 2007
 

Types of Servlets based on protocal types
1)HTTP Servlet
2)FTP  Servlet
3)SMTP Servlet

  Was this answer useful?  Yes

sampra

  • Mar 6th, 2008
 

Servlets are mainly of two types
1. Genric servlet
2. http servlet

Rest all servlet are directly or indirectly implemimplementing or extending of these two

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions