A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
can't find context path for default app
Joined: Oct 31, 2007
Oct 31, 2007 13:22:00
I have a app running fine with
The context setting in server.xml is:
<Context path="" managerChecksFrequency="1" docBase=""
debug="0" verbosity="0" reloadable="false">
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:
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.
It is sorta covered in the
JavaRanch Style Guide
subject: can't find context path for default app
Tomcat 4 : How to deploy and run JSP and Servlets
Problems with Bean in JSP...
Loading a text doc into a browser
Tomcat6 and Java Beans
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014