• 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

TC can't find my projects html

 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I installed tomcat 4.4.24 a while back and it works fine on the examples and the code from Murach's Java Servlets and JSP book examples. I'm trying to go through the book but using my own application. In the webapps directory I've created an rl directory which contains an index.htm file.
If I enter
http://localhost:8080/murach
in my browser, it works fine and brings up the index for the murach examples.
If I enter
http://localhost:8080/rl
in my browser, I get a 404 from tomcat (not netscape).
help!!!
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look at the ../conf/web.xml file - does it have a welcome-file element containing index.htm?
Also, in order for Tomcat to recognize a directory under webapps as a web application, that directory must have a WEB-INF subdirectory and a web.xml file.
Bill
[ August 11, 2003: Message edited by: William Brogden ]
 
I once met a man from Nantucket. He had a tiny ad
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic