This is mentioned in tomcat documentation and I just followed what was written there. Here is the link: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
It says Context elements may be explicitly defined: - in individual files (with a ".xml" extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory. The name of the file (less the .xml extension) will be used as the context path. Multi-level context paths may be defined using #, e.g. context#path.xml. The default web application may be defined by using a file called ROOT.xml. If this is erroneous then renaming or using filter are the only ways? Thanks -----Original Message----- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2008 7:44 PM To: Tomcat Users List Subject: RE: Setting context in tomcat6 > From: vibhuti [mailto:[EMAIL PROTECTED] > Subject: RE: Setting context in tomcat6 > > why is it that in tomcat5 we define a context descriptor > file myapp.xml in /tomcat/conf/Catalina/localhost folder > and a default context could be set but in tomcat6 it > doesn't work. Depends on what you mean by "doesn't work". The configuration you were using was invalid for all levels, but it just happened to do something that you decided was useful. That erroneous and accidental behavior has been fixed in more recent levels. - 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] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]