Hi, The META-INF/context.xml is one way in which a *web application context* can be configured, not Tomcat itself per se, although it is an instruction on behalf of the web application *to* Tomcat about what *it* needs Tomcat to setup for itself, e.g database pools, environment vars or whatever.
Yes /MyWebApp/META-INF would be correct, as per the servlet spec for web application structure. Allistair. > -----Original Message----- > From: Ben Wong [mailto:[EMAIL PROTECTED] > Sent: 09 September 2005 05:26 > To: tomcat-user@jakarta.apache.org > Subject: where to place the /META-INF/context.xml file? > > > Hi, > > Apologies, but this is a newbie question. In the tomcat docs, > it states that > > "A /META-INF/context.xml file can be used to define Tomcat > specific configuration..." > > Could you please tell me where /META-INF/context.xml should > be placed relative to the web application root? In other > words, if I have a web application in a directory /MyWebApp, > should the /META-INF be at /MyWebApp/META-INF or should it > be under /WEB-INF? > > Thanks. > > <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]