Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What Protocols does servlets supports?

 
Bhairava Surya
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

What Protocols does servlets supports?

Thanks & Regards,
Ravi.
 
Keshav Prasad gurukul
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSPs are servlets. Please use only one thread per question.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic