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: Multiple contexts mapped to single docbase
Date Mon, 02 Aug 2004 13:35:41 GMT

Hi,
You can have as many Contexts as you want mapped to the same docBase,
but the path has to be different.  Path usually starts with a / by the
way, except for the default ("ROOT") webapp whose path is "".


Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Robert Hunt [mailto:robert-hunt@comcast.net]
>Sent: Sunday, August 01, 2004 3:33 PM
>To: tomcat-user@jakarta.apache.org
>Subject: Re: Multiple contexts mapped to single docbase
>
>This seems to work:
>
>[server.xml excerpted]
>-----------------------------------------------
><!-- uses standard web.xml as deployment descriptor -->
><Context path="myWWW"
>              docBase="appXyz"
>              ...
>              />
>
><!-- uses webdav.xml as deployment descriptor -->
><Context path="myWebDav"
>              docBase="appXyz"
>              defaultWebXml="<full pathspec>\WEB-INF\webdav.xml"
>              ...
>              />
>-----------------------------------------------
>
>where webdav.xml contains the standard webdav servlet definitions and
>necessary security constraints.
>
>
>
>---------------------------------------------------------------------
>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.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message