tomcat-users mailing list archives

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

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:detlef.brendle@canoo.com]
>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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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.


Mime
View raw message