This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
This is with Tomcat 5 but it should be similar. Under the tomcat folder there should be a web apps folder. Any folder under here is a separate web application. JSP files will be placed in this folder. There should be an example application folder that has jsp files in them.
Is your classpath set correctly? Are you getting any error messages? Do Tomcat examples work? I use Tomcat 5 and I know a few things are different than on 3.2 (though the folder structure should mostly be the same).
Joined: Dec 28, 2004
As u guessed.....nothing is working here. i mean yesterday i was able to run servlets and was successful. there were no error messages. but now even for example servlets there is an error message displayed in browser " NOT FOUND (404) "
even the tomcat new startup window is getting closed in few seconds.
first try to figure out the problem. You are not able to see the error as the tomcat startup window is getting closed. Open the command prompt and run the startup batch file from there and redirect the output to a text file. then find out what that text file says.
ie you need to do
startup > temp.txt
this temp file should specify what the error may be!
I asked why you were using such an old version of Tomcat in your other thread. Since this one already has more responses, I'll elaborate here.
Both the servlet/jsp specs and Tomcat have changed in subtle ways since Tomcat 3x. The basic concepts are the same but a lot of the examples you will find on the web won't run in 3x. Also, most people who are activly working with servlets and JSP have either learned on a more recent version or have moved past the 3x version so long ago that they aren't going to remember all the small differences.
Unless you have a compelling reason to stay with 3x, I would start by downloading and installing the latest stable version.