This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?
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.
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