File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes compiling first JSP program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

compiling first JSP program

Ish Kumar

Joined: Oct 20, 2004
Posts: 6
i am a beginner to java server pages(JSP) and i don't know how to compile, and run the first program.
Please tell me where to store the jsp program. and how it will loaded on the internet.

with regards
Ish kumar
Ramakrishnan Ponmudi
Ranch Hand

Joined: Apr 20, 2004
Posts: 72
first of u install any one
webserver such as Tomcat, jws, ...
or application server such as weblogic, j2ee

i prescribe sjsas(sun java system application server) pe 8.0 from sun java site.
write jsp file,
deploy it using deploytool.
if u have any doubt, send a query
Sanjaya Sugiarto
Ranch Hand

Joined: Mar 25, 2004
Posts: 229
Supposed you have installed and configure correctly the webserver (eg: Apache), application server (eg: Tomcat, JBoss, Resin, etc) and J2SDK than just fireup your browser and type:

The 8080 is the standard port for Tomcat.

<a href="" target="_blank" rel="nofollow">Business Information Technology - Hochschule Furtwangen University, Germany</a>
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Please don't post the same question in multiple forums, it creates duplicate convversations and wastes the time of the people trying to help you.

I would have moved this to the JSP forum for you, but you already posted there, so I'm going to close this copy and anyone wishing to help can see the version here.

David O'Meara

Joined: Mar 06, 2001
Posts: 13459

I'm not really a bad person, just trying to keep things running smoothly.
Welcome to the Ranch, Ish Kumar!
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

we're pretty light on rules here at the JavaRanch, but one that we do take seriously is the rule on display names. You can read it here.

Basically we require all display names to be two words: your last name, a space, then your last name. Obviously fictitious names are not allowed.

Please update your profile and fix your display name, since accounts with invalid display names get deleted, often without warning!

subject: compiling first JSP program
jQuery in Action, 3rd edition