> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Tomcat 6.0.18 access files case-insensitive
> 
> So apparently Tomcat does not just use the standard Windows 
> file..open function, it runs additional checks.

Tomcat doesn't use Windows anything, it uses the JRE methods.  Underlying those 
are calls to Windows APIs.  Once the File object is created, by default it does 
check that the requested name exactly matches the found name.

> I personally find this paragraph rather obscure

It's not obscure, it's wrong; the first sentence is backwards, as you noticed.

> Should the first phrase not read
> "If the value of this flag is true, all case sensitivity checks will be
> *enabled*."

Agreed.

> I also wonder what the purpose of this attribute really is, in fact.
> Should this not always be left to "case sensitive = true" ?

Unless you're begging for trouble, or have a really, really sloppy programming 
staff.

> - but under a case-sensitive filesystem, what would be a good reason to
> set it to "false" ?

Extremely lazy users, or non-browser clients that were badly and inconsistently 
programmed.

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

Reply via email to