File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 42913
    
  68
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why Jsp cant support FTP & SMTP