Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

about directory structure in Tomcat

Status
Not open for further replies.

Pesho318i

Programmer
Jun 16, 2006
13
NL
Hi all,

I'd like to access a servlet, which resides in the following directory:

tomcat/webapps/myApp/WebContent/WEB-INF/classes/myServlet

In my web browser I'm typing: //result - "the requested resource is not available"
(I have done the servlet-mapping in web.xml to /servlet)

Note that if I move the WebContent/ directory directly into webapps/ it works!
I can't figure out why if WebContent/ is one level deeper the servlet cannot be found.


I'll be grateful if you could tell me how to handle this problem...

Thanks,
P.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top