This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes can't find context path for default app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "can Watch "can New topic
Author

can't find context path for default app

yajun wen
Greenhorn

Joined: Oct 31, 2007
Posts: 2
I have a app running fine with Tomcat 5.

The context setting in server.xml is:
<Context path="" managerChecksFrequency="1" docBase=""
debug="0" verbosity="0" reloadable="false">
</Context>

The WEB-INF folder, index.jsp and all the jsp folders are put directly under webapps, without any app name. I can access the app by default at:
http://localhost:8080/

Now, I try to deploy the app to Tomcat 6, it is not working any more.

The problem is that tomcat 6 always take any folder in webapps as an application, and any access to the jsps under the folders bellow webapps failed because tomcat is looking for WEB-INF/web.xml.

Any one knows how to solve this?

Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can't find context path for default app
 
Similar Threads
Tomcat6 and Java Beans
context path
Problems with Bean in JSP...
Tomcat 4 : How to deploy and run JSP and Servlets
Loading a text doc into a browser