How to setup JSP on Jakarta Tomcat 5.0

I am very new to Sum. Know ASP and .net. Trying to jump to JSP.

I installed Java 1.5.0_11 and then installed tomcat 5.0 in the root of windows XP.

The server is functioning fine at localhost:8080. Even sample programs are working. When I try to run a JSP file, it give error - not able to compile the class. I also tried to set the environmental variable for JAVA_HOME, CATERINA_HOME, CLASSPATH. Not working.

What else I should do for making JSP run?

Help please

[494 byte] By [Santulana] at [2007-11-27 1:39:30]
# 1
Try copying the tools.jar file from you JAVA_HOME/lib directory to the CATALINA_HOME/common/lib directory
tolmanka at 2007-7-12 0:52:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Where have you installed Java?Where have you installed Tomcat?What have you set forJAVA_HOME ? CATALINA_HOME?Note that it is CATALINA, not CATERINA, or is that just your accent? ;-)
evnafetsa at 2007-7-12 0:52:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Hi,

I need to clarify from yours that had you installed both java and tomcat in the same directory. In case of being installed in the same directory, setup the JAVA_HOME as the path of the root installation of java bin directory and the CATALINA_HOME to the lib directory of the JAVA installed directory.

thanks & regards,

Michael.

RealStuffa at 2007-7-12 0:52:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Thanks for your kind and prompt help in helping me.
Santulana at 2007-7-12 0:52:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...