This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm using tomcat 4+ with IIS 5. I have a site called myweb within the site I have a WEB-INF directory that contains a web.xml file. For some reason Tomcat is not recognizing this web.xml nor any of my class files I have in WEB-INF/classes directory. All my .jsp files process fine. Do I need to make any changes to Tomcat for it to see the WEB-INF directories in each of my sites? Thanks, Dave
On startup, Tomcat should recognize any directory under webapps that contains a WEB-INF and web.xml file as a web application. Does your myweb application show up on the Tomcat Manager screen as a recognized application? Is this the directory structure?
Joined: Dec 16, 2003
Do I need to put my entire website under 'tomcat/webapps/mysite' directory? I use IIS and would like to keep the website structure under 'inetpub/wwwroot/mysite'. Can I change some mappings in tomcat to look for webapps in 'inetpub/wwwroot/' instead of 'tomcat/webapps/'? There must be something simple I'm overlooking here but.... Thanks, Dave
Author and all-around good cowpoke
Joined: Mar 22, 2000
I believe you can put the application anywhere you want using a Context element in your server.xml. There is a discussion of this in your Tomcat installation under tomcat-docs/config/context.html Bill