A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Why Jsp cant support FTP & SMTP
P Malhotra
Greenhorn
Joined: Jul 27, 2011
Posts: 7
I like...
posted
Sep 06, 2011 06:13:36
0
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: 35223
7
posted
Sep 06, 2011 07:24:24
0
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.
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Why Jsp cant support FTP & SMTP
Similar Threads
HTTP protocol??
Protocols used by a Generic Servlet
JSP & Servlets
why ejb doesnt run in webserver
smtp,ftp protocol in Tomcat
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter