This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can't find context path for default app

 
yajun wen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic