This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat alias - cannot find WEB-INF/web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat alias - cannot find WEB-INF/web.xml " Watch "Tomcat alias - cannot find WEB-INF/web.xml " New topic
Author

Tomcat alias - cannot find WEB-INF/web.xml

stephen meyer
Greenhorn

Joined: Mar 18, 2011
Posts: 2
I have setup aliases under tomcat in my server.xml as follows:



This works fine except when navigating to more than one folder deep as follows:
This works fine sub.domain.co.za and loads the tomcat application, however if you go to
sub.domain.co.za/directory/index.jsp it gives an error 404 and the tomcat logs say cannot find WEB-INF/web.xml.

Anybody got any ideas?


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat alias - cannot find WEB-INF/web.xml
 
It's not a secret anymore!