File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAR file

 
Tom Xavier
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Tom Xavier
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have figured out myself. Please ignore it.
Tahnks anyway.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic