> From: mast [mailto:[EMAIL PROTECTED] 
> Subject: Re: getContextPath
> 
> in the 5.5.17 version my app is under the ROOT directory yes 
> (that s the correct way like we told before no ?)

Depends on what you mean by "under".  If your app IS the ROOT directory,
then getContextPath() should return an empty string.  You cannot put one
webapp "under" another; each webapp is intended to be independent.

> my conf is the same for both :
>  <Host name="mydomain.com" 
> appBase="/usr/local/tomcat5/webapps/users1" 
> unpackWARs="true"  autoDeploy="true" />
> for both the 5.5.20 and 5.5.17 so what can explain that the 
> variable aren't identical?

Do you have a test.xml lurking around in conf/[engine]/[host] in one of
them?  Would that test.xml have a <Context> element with a docBase
pointing to ROOT/test?  If so, that's incorrect.

 - 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