Howdy,
Take your context information out of server.xml into a file called
context.xml and put context.xml in your WAR file under the META-INF
directory.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Detlef Brendle [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 02, 2003 12:48 PM
>To: Tomcat Users List
>Subject: Howto : how to set context specific attributes when using
'war'
>files
>
>Hi all,
>
>I need to a special treatment of symbolic links as mentioned within
this
>mailinglist before.
>
>***************
> <Context path="/myApp" docBase="myApp" debug="0">
>       <Resources
className="org.apache.naming.resources.FileDirContext"
>allowLinking="true"  />
>   </Context>
>***************
>
>This works fine when defining webApps within the server.xml file.
>
>I would like to drop a 'war' file in the webapps/ dir of the tomcat
>instance.
>But how do I then define this <resource> element ?
>
>Can I define it in the WEB-INF/web.xml file ?
>
>
>
>thanks for your help,
>
>detlef
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to