New to JSP-How to run a .jsp file

I Have just begin to learn JSP. I downloaded the JSP developer kit from java.sun.com. However I dont know how to proceed. I have seen references to'the container'. what is it and how do I start it? and the same for the server which I have in the form a batch file. How do I configure the environment? Are there any prerequisites to using this kit wrt software? Please do help me, since I am absolutely clueless

Regards,

Sweta

[454 byte] By [swetav] at [2007-9-26 2:05:30]
# 1

Here's what I did:

Install Tomcat:

Get it from http://jakarta.apache.org/tomcat

I use 3.2

Presuming Java is installed.

set environment variables:

JAVA_HOME=x:\jdk1.3.1

TOMCAT_HOME=x:\jakarta-tomcat-3.2

add this to your PATH

x:\jakarta-tomcat-3.2\bin

If you're in windows go to he prompt and run tomcatEnv.bat

this sets up the classpath.

now type 'tomcat start' and tomcat should pop up in a new window.

type 'tomcat stop' to stop it.

Once Tomcat is running you can go to your browser and go to http://localhost:8080/ or http://127.0.0.1:8080/

and you should see the Tomcat welcome page, try to run a few examples.

Next try to set up a Context for yourself in he webapps folder.

You'll get there..

Good Luck!

Peter

Enygma42 at 2007-6-29 8:50:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi, just asking, what do you mean by installing java?u mean JSDK or J2EE? or anything else?thx!
des_xu at 2007-6-29 8:50:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Just JSDK
Enygma42 at 2007-6-29 8:50:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...