I am using Tomcat version 5.5. I have verified that Tomcat indeed works by executing http://localhost:8080. I have written a simple jsp program and is stored under my home directory.
Do I have to necessarily copy the jsp program somewhere under Tomcat directory to run the jsp or it can still reside under my home directory and make the program run by making some configuration change/path setting?
Not sure if it can be outside the Tomcat directory, though.
Yes, you can create a context anywhere on the file system.
Joined: Jun 18, 2004
I realize this is somewhat outside of the topic mentioned. But I would look into getting an IDE to do development. I use eclipse, I have my workspace setup in my home directory, and then I deploy out to tomcat/jboss. i also use myeclipseide.com, and that helps simplify things further.
Author and all-around good cowpoke
Joined: Mar 22, 2000
You don't need a big IDE to set up a convenient environment that separates development directories from deployment directories. I use UltraEdit-32 plus ANT. There is a bit of a learning curve to ANT but you don't have to learn the whole monster to start getting major benefits. Bill