> From: Cristian Bullokles [mailto:[EMAIL PROTECTED]
> Subject: Re: Deploy applications using /user/MyServlet as name
>
> Each user could call applications using the browser in that way:
> http://myserver:8080/user1/WebApp1
> http://myserver:8080/user1/WebApp2
> http://myserver:8080/user2/OtherWebApp1
> http://myserver:8080/user2/OtherWebApp2 .
>
> I've deployed one application in my folder using the manager using
> this sentence:

You can't do this with the manager app, since it does not support multi-level 
URL paths.

What you can do is deploy each webapp in some location *outside* of the appBase 
directory configured in your <Host> element, and then create a <Context> 
element for each webapp, placing said <Context> element in the file 
conf/Catalina/[host]/[userName]#[appName].xml.  Each <Context> element must 
contain a docBase attribute giving the location of the associated .war file (or 
expansion thereof), and must not contain a path attribute.

> I need to declare one context for each application?

Yes; <Context> == 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