• Post Reply Bookmark Topic Watch Topic
  • New Topic

Why Jsp cant support FTP & SMTP  RSS feed

 
P Malhotra
Greenhorn
Posts: 7
MyEclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone


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.


I read this somewhere could any one can tell me is this true and if its than why.


Thanks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But a servlet can support any protocol like HTTP, FTP, SMTP etc.

To my knowledge there never was a servlet container that could do this. See http://www.coderanch.com/how-to/java/ServletsFaq#otherProtocols for details.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!