tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Multiple contexts mapped to single docbase
Date Mon, 02 Aug 2004 13:35:41 GMT

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 []
>Sent: Sunday, August 01, 2004 3:33 PM
>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:
>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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message