File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


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??
I agree. Here's the link:
subject: tomcat
It's not a secret anymore!