I have a tomcat4.0 running. I jar all the files in /webapps/ROOT/ as a "abc.war" file and then put it in /webapps/ROOT/demo directory, then I unzip the "abc.war" so all its unziped files are in /webapps/ROOT/demo/. However, I can only view the html files (for example, hello.html) that are in /webapps/ROOT/demo directory by using "http://localhost:8080/demo/hello.html", but can NOT view any servlet that are in /webapps/ROOT/demo/web-inf/classes/ directory (for example, I can't see "http://localhost:8080/demo/servlet/Hello" although I am sure this servlet class file is correct. What should I do to view servlets in the WAR file ? Thanks, Tom
Joined: Sep 21, 2001
I have figured out myself. Please ignore it. Tahnks anyway.