> From: bhaskar karambelkar [mailto:[EMAIL PROTECTED] 
> Subject: tomcat userdir and context
> 
> But it seems that the webapps directory is a single web app 
> in itself and not a container for multiple webapps.

Each immediate subdirectory of webapps contains an independent app, but
not any deeper directories.

> Can I configure tomcat so that they will have their
> seperate contexts, viz.. ~user/app1 and ~user/app2 respectively ?

You can place the <Context> tags for each app in the files
~user#app1.xml and ~user#app2.xml under the conf/Catalina/<host_name>
(usually localhost) directory.  I would use the docBase attribute to
point to each app's location rather than putting them under webapps in
order to avoid the risk of double deployment.

 - 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 unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to