Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat" Watch "tomcat" New topic
Author

tomcat

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??
 
It is sorta covered in the JavaRanch Style Guide.
 
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