• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WAR file

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have figured out myself. Please ignore it.
Tahnks anyway.
reply
    Bookmark Topic Watch Topic
  • New Topic