> From: Terence Kent [mailto:[EMAIL PROTECTED] 
> Subject: Re: servlet mapping question(I believe)
> 
> In my case I have multiple applications in the webapps
> folder, so which to name to root is ambiguous.

The one to name ROOT (not root) is the one you want clients to see when
they specify only the host name on the URL - it's the default webapp for
the web site.

> Is it acceptable to have multiple applications in a 
> webapps folder,  with base directories such as:
> 
> webapps/app1
> webapps/app2
> ...
> 
> All sharing the same appBase, but each having a different docBase?

That is the normal way of doing things.  Note that the docBase attribute
must not be specified in any <Context> elements in this scenario, since
it's derived from the location of the webapp.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to