Pardon me if i am annoying , but from the below mail link, i located the 
snippet(mentioned below) in which its written
that we can define application context in context.xml.

******************************************************************************
Individual Context elements may be explicitly defined: 
In an individual file at /META-INF/context.xml inside the application files. 
Optionally (based on the Host's copyXML attribute) this may be copied to 
$CATALINA_BASE/conf/[enginename]/[hostname]/ and renamed to application's base 
file name plus a ".xml" extension. 
******************************************************************************
but wrong i am doing , in defining the context in META-INF/context.xml as 
follows :-
<Context path="/app1" privileged="true"/>

Does we cannot override the default application context in tomcat 6.0 using 
META-INF/context.xml  ????

Thanks all,
Vicky  

________________________________
 From: "Caldarale, Charles R" <[email protected]>
To: Tomcat Users List <[email protected]> 
Sent: Tuesday, 20 November 2012 10:15 PM
Subject: RE: Context root query
  
> From: [email protected] [mailto:[email protected]] 
> Subject: Re: Context root query

> Please suggest how i can override the context root of an application using 
> META-INF/context.xml

You cannot.  Please actually read the documentation everyone has been pointing 
you to.

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Defining_a_context

- 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 unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to