This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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??
I agree. Here's the link:
subject: tomcat
It's not a secret anymore!