> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: RE: web.xml configured correctly, but > stillgetting'404...resourcenot found' > > if you want Tomcat to behave a certain way for a particular > webapp, you could edit context.xml files to get something > different from the default behaviour.
Something in addition might be a better way of phrasing it. Any webapp can have its own context.xml file, but most don't need one. If you look at the attributes described here: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html you'll see numerous factors that you might want to be different for different webapps (e.g., cookies, cross-context, privileged, cacheMaxSize). Note that if a webapp is deployed in a location other than under the <Host> appBase directory, you must have a <Context> element for it in conf/Catalina/[hostName]/[appName].xml that contains a docBase attribute pointing to the location of the webapp; that's the only situation where docBase should be used. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]