This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes java servlets support JSP????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "java servlets support JSP?????" Watch "java servlets support JSP?????" New topic

java servlets support JSP?????

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
I'm interested in learning more about java servlets and Jsp. Right now I'm searching for a web host. I noticed that alot of the web host say they support Java Servlets but they don't say anything about JSP. Can I assume that I will be able to implement Java server pages using a web host that says it supports java servlets?
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
Most likely but... don't they have a contact e-mail address where you can ask?

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Jeff Tveita

Joined: Mar 16, 2001
Posts: 11
If someone supports servlets then they almost cetainly would have to support JSP's. JSP's are essentially servlet code written within the html, which is then compiled at runtime. Take a look at (I'm a partial to because I work for them)
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
Can I get a discount on your fees for another non-profit group based in Spain?
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
I would dispute the suggestion that supporting servlets implies supporting JSP. A lot of ISPs who support servlets, do so using the Apace JServ plugin for the very popular Apache Webserver. Unfortunately, although still supported, this is old-fashioned software and has been superseded by more modern servlet containers such as Tomcat, Resin, JRun etc. JServ only supports version 2.0 of the Servlet API, and does not easily support JSP.
It is vital that you check with a potential ISP which servlet container (aka "servlet engine") they use, and which version of it. If they can't tell you that immediately, don't use them - they don't understand enough about server-side Java to offer sensible support. When they have told you, don't rely on the overconfident ISP marketing to tell you what it can do. Look up the capabilities of the container on the web to find out what it can really do.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: java servlets support JSP?????
jQuery in Action, 3rd edition