wood burning stoves 2.0*
The moose likes Servlets and the fly likes Why Jsp cant support FTP & SMTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Why Jsp cant support FTP & SMTP" Watch "Why Jsp cant support FTP & SMTP" New topic
Author

Why Jsp cant support FTP & SMTP

P Malhotra
Greenhorn

Joined: Jul 27, 2011
Posts: 7

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
Marshal

Joined: Mar 22, 2005
Posts: 41149
    
  45
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why Jsp cant support FTP & SMTP
 
Similar Threads
why ejb doesnt run in webserver
HTTP protocol??
smtp,ftp protocol in Tomcat
Protocols used by a Generic Servlet
JSP & Servlets