Java Mailing List Archive

http://www.junlu.com/

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

RE: Accessing an application with different paths

Caldarale, Charles R

2007-07-20

Replies:

> From: David kerber [mailto:dckerber@(protected)]
> Subject: Re: Accessing an application with different paths
>
> But then they both need their own copy of the war

Not true; the docBase attributes in the two (or more) <Context> elements
can be identical.

> 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

Put the <Context> element in a file named
conf/Catalina/[host]/wra#customername.xml.

- 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)

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