• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

What Protocols does servlets supports?

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

What Protocols does servlets supports?

Thanks & Regards,
Ravi.
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSPs are servlets. Please use only one thread per question.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic