how to run jsp on tomcat server.

hii have installed apache tomact on windows xp.i am not able to see any page when i run "http://localhost:8080in which folder should i place the jsp filesplease advise step by step
[215 byte] By [g_ruchia] at [2007-10-3 0:45:49]
# 1

Are you sure tomcat has actually started?

When you first install tomcat and go to localhost you will be taken to the start page, there are already test jsp files installed with tomcat. There also documentation on the start page which you should read before asking others for step by step instructions.

angrycata at 2007-7-14 17:40:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Mr. angrycat i read the documentation and executed its instructions also but still i was not able to thats y i posted it on the forum.

if u r so frustrated to react like this in forums then noone complled you to reply to the query. its an open forum to help each other n not to cater to the frustration of some high minded people

g_ruchia at 2007-7-14 17:40:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Have you started the tomcat server?

First you have to create JAVA_HOME enviornment variable JAVA_HOME should point to your java installation directory

may be you have missed this step

you have to start the tom cat by clicking startup.bat located in the bin diretory of your tomcat installation :)

arunmp25a at 2007-7-14 17:40:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
are you getting the home page of tomcat
arunmp25a at 2007-7-14 17:40:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5

Thanks Arun,

i will try this and definitely tell u the result.

whine i was doing the setup it asked me for java directory n i gave the path. i think that is waht JAVA_HOME is.

where can i see the JAVA_HOME variable

i'm not getting the home page also

Message was edited by:

g_ruchi

g_ruchia at 2007-7-14 17:40:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6

Inorder to start Tomcat you have to set an enviornment variable called JAVA_HOME which should point to your java installation directory

to set an enviornment variable right click on MyComputer--select Properties --advanced --evviornment variables there create a new variable JAVA_HOME unless JAVA_HOME is set you cant start tomcat .ONce JAVA_HOME is set start tomcat by clicking startup.bat located in the bin directory of tomcat installation

Better do a search on goole on how to get started with tomcat

arunmp25a at 2007-7-14 17:40:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7

hi,

1.first of all install jdk

2. set path, classpath, java_home

3. install tomcat.

4.set catalina_home as tomcat directory

5.check http://localhost:8080/

path=java/bin

classpath=tocat/common/lib/servlet.jar

java_home=/java

catlina_home=/tomcat

shivshankar.mulea at 2007-7-14 17:40:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 8
Hi all,Thanks a lot.i'm able to run my applications on it now
g_ruchia at 2007-7-14 17:40:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...