wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Servlets not found in ROOT dir - OK, in examples???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Servlets not found in ROOT dir - OK, in examples????" Watch "Servlets not found in ROOT dir - OK, in examples????" New topic
Author

Servlets not found in ROOT dir - OK, in examples????

DC Dalton
Ranch Hand

Joined: May 28, 2001
Posts: 287
I usually dont mess with Tomcat....not a big fan but I have a friend that needs it set up so I figured Id give him the newest stable I could find ... 4.1.18. Everything is running, the Tomcat stuff works fine & all the examples work with no problem at all. BUT I made a classes folders in the ROOT directory (would it kill them to do that???) Made a quicky test servlet...NFG, I take the servlet & throw it in the examples folder, works fine with the examples path added to the url......what the heck gives with this bucket of bolts! Thanks for any help you can give!
[ January 02, 2003: Message edited by: DC Dalton ]
Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
I am guessing that the context path for the root app needs to uncommented in the server.xml file
DC Dalton
Ranch Hand

Joined: May 28, 2001
Posts: 287
Found & tried that still NFG, I also noticed that this thing almost shuts this poor laptop down! Its sucking up memory like there is no tomorrow so I dumped it & put a 3x version (that actually runs) on the machine...... thanks anyways.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets not found in ROOT dir - OK, in examples????
 
Similar Threads
404 - the requested resource is not availabe...
unable to compile
Apache -> Tomcat servlet problem
404
Tomcat Help!