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