> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Tomcat 6.0.18 access files case-insensitive
> 
> Now if the attribute is false, does that mean that Tomcat will try all
> possible case variations between "abc.html" and "ABC.HTML" before it
> gives up ?

I just looked at the code in FileDirContext.java (and related classes), and it 
does not seem to.  It wouldn't have to try all variations; it could simply use 
the String.equalsIgnoreCase() method on each entry in the directory of 
interest, or force everything to one case or another when it builds its 
internal lookup table - but I couldn't find anything like that going on.

> And otherwise, what's the point ?

You got me.

 - 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