This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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
 
It's not a secret anymore!