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
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: 39548
    
  27
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 - updated with new look and Ping home screen widget
 
 
subject: Why Jsp cant support FTP & SMTP
 
Similar Threads
HTTP protocol??
JSP & Servlets
smtp,ftp protocol in Tomcat
Protocols used by a Generic Servlet
why ejb doesnt run in webserver