Re: ROOT directory in webapps

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuck,

Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
>> Subject: Re: ROOT directory in webapps
>>
>> I believe someone has mentioned more than once that throwing 
>> an index.jsp file into the appbase would be treated as if it
>> were in the ROOT context (if neither ROOT.war nor ROOT/ exist).
> 
> As I recall, that was never the intended behavior, but it happened to
> function that way in some older levels of Tomcat (before the bug was
> fixed).  It certainly isn't condoned by anything in the spec.

Gotcha. Thanks for the clarification.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBRZg9CaO5/Lv0PARAiR5AJ99/4SnU05N7d4tVA9I17ntzCf5lwCaAt+m
uEoTracbQecjq8vA6gqyaK4=
=bzXc
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ROOT directory in webapps

2007-10-04 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
> Subject: Re: ROOT directory in webapps
> 
> I believe someone has mentioned more than once that throwing 
> an index.jsp file into the appbase would be treated as if it
> were in the ROOT context (if neither ROOT.war nor ROOT/ exist).

As I recall, that was never the intended behavior, but it happened to
function that way in some older levels of Tomcat (before the bug was
fixed).  It certainly isn't condoned by anything in the spec.

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



Re: ROOT directory in webapps

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark,

Mark Thomas wrote:
> Gaurav Pruthi wrote:
>> How can I avoid creating of additional directory i.e. ROOT.
> 
> You can't. This is by design.

Correct me if I'm wrong, but this is a departure from the behavior of
previous TC versions. I've never done it myself, but I believe someone
has mentioned more than once that throwing an index.jsp file into the
appbase would be treated as if it were in the ROOT context (if neither
ROOT.war nor ROOT/ exist). Is that correct, or has this never worked?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBQy69CaO5/Lv0PARAtLdAKCQM1VqEtJ53TRhY+WAI7juXEqM0wCfXlKR
aWW5ZS4LTU3RWoC0zpbrO5I=
=cKCk
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ROOT directory in webapps

2007-10-04 Thread Mark Thomas
Gaurav Pruthi wrote:
> How can I avoid creating of additional directory i.e. ROOT.

You can't. This is by design.

Mark


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]