tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Howto : how to set context specific attributes when using 'war' files
Date Tue, 02 Sep 2003 17:18:04 GMT

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

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Detlef Brendle []
>Sent: Tuesday, September 02, 2003 12:48 PM
>To: Tomcat Users List
>Subject: Howto : how to set context specific attributes when using
>Hi all,
>I need to a special treatment of symbolic links as mentioned within
>mailinglist before.
> <Context path="/myApp" docBase="myApp" debug="0">
>       <Resources
>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
>But how do I then define this <resource> element ?
>Can I define it in the WEB-INF/web.xml file ?
>thanks for your help,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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.

View raw message