Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Accessing an application with different paths

David Kerber

2007-07-20

Replies:

But then they both need their own copy of the war, and I never figured
out how to get these to work with a name that looked like a
sub-directory, so that it was accessed like:

http://www.myhost.com:81/wra/customername/Login.jsp

It works fine if I only have a one-level context path, but I never got
it to work with the two-level version without putting it in server.xml.

Dave


Caldarale, Charles R wrote:
>> From: David kerber [mailto:dckerber@(protected)]
>> Subject: Re: Accessing an application with different paths
>>
>> I've done this by specifying both applications' context paths in the
>> server.xml, along with the appropriate docbase entries.
>>  
>
> Please don't do that - put them in conf/Catalina/[host]/[appname].xml,
> where they belong.
>
> - 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@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
>
>  



---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.