This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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: 42031
    
  64
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
 
GeeCON Prague 2014
 
subject: What Protocols does servlets supports?