wood burning stoves 2.0*
The moose likes Servlets and the fly likes tomcat 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 » Java » Servlets
Bookmark "tomcat" Watch "tomcat" New topic


Peter Guillebaud
Ranch Hand

Joined: Jul 11, 2001
Posts: 57
Hi i'd be really grateful if anyone can help...
I can only get servlets to be called from jsp pages when the servlets are buried in the ROOT directory.
I Have tried creating a new web application folder ("test" ) off webapps, with the server.xml creating context for it, also have the directory structure in "test" with a WEB-INF folder and a web.xml file in here with a mapping to the servlet name, and the servlet is in a classes folder which is under "test".
Stop, start tomcat but browser cannot find the servlet, whats wrong??
Consider Paul's rocket mass heater.
subject: tomcat
Similar Threads
How to test servlets?
Add application context to WAS 5.0
Is WEB-INF Directory mandatory ?
How to debug a servlet
Tomcat Restarting