wood burning stoves 2.0*
The moose likes Servlets and the fly likes What Protocols does servlets supports? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "What Protocols does servlets supports?" Watch "What Protocols does servlets supports?" New topic
Author

What Protocols does servlets supports?

Bhairava Surya
Ranch Hand

Joined: Aug 19, 2007
Posts: 45
Hi All,

What Protocols does servlets supports?

Thanks & Regards,
Ravi.
Keshav Prasad gurukul
Greenhorn

Joined: Feb 25, 2009
Posts: 14
Servlet was designed to be used as an Interface to be implemented on any protocol.

GenericServlet is an Abstract class and you can extends it for most of your protocol dependent fuctionalities.

HttpServlet is another Abstract class and is implemented for HTTP protocol.

Technically Servlet supports most of the commonly used protocols


SCJP5 94% SCWCD5 86% SCBCD5 86%
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

JSPs are servlets. Please use only one thread per question.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41106
    
  45
Servlet was designed to be used as an Interface to be implemented on any protocol.
...
Technically Servlet supports most of the commonly used protocols

Stated like that, this is really not correct. The request/response architecture of the servlet API limits it to those protocols that can reasonable be used that way, and many common protocols just can't. In practice, no servlet implementation exists that supports anything but HTTP/HTTPS and -more recently- SIP.


Ping & DNS - my free Android networking tools app
 
 
subject: What Protocols does servlets supports?
 
Similar Threads
What Protocols does JSP supports?
why ejb doesnt run in webserver
difference
Javamail Protocols
Urgent Please : Whether WAS 4.0 supports Servlet 2.3 API ?????