Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP protocol??

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

What it means by saying "JSP is used mainly for presentation only. A JSP can only be HttpServlet that means the only supported protocol in JSP is HTTP. But a servlet can support any protocol like HTTP, FTP, SMTP etc"

Any suggestions??
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this FAQ page for a discussion of whether servlets can really support protocols other than HTTP (short answer: in theory, yes, but actually, no).

For JSPs, the specification says "Most JSP pages use the HTTP protocol, but other protocols are allowed by this specification.", so the statement you read somewhere (where ?) is false. But again, that's the theory - a non-HTTP JSP implementation would depend on a non-HTTP servlet implementation, which doesn't exist.
[ January 04, 2007: Message edited by: Ulf Dittmer ]
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf,

Thanks for the post. You help me a lot. Thanks again!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic