tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan_Pie...@seagram.com (Jonathan Pierce)
Subject Re[2]: Case Sensitivity in URLs (was RE: BugRat Report #92 w
Date Tue, 12 Sep 2000 20:56:09 GMT


____________________Reply Separator____________________
Subject:    Re: Case Sensitivity in URLs (was RE: BugRat Report #92 w
Author: tomcat-dev@jakarta.apache.org
Date:       9/12/00 1:18 PM

Craig McClanahan wrote:

>>Consider that you have two JSP pages in the top-level "directory" of >> >>the
WAR file:
>>
>>   /index.jsp
>>    /menu.jsp
>>
>>and your "index.jsp" page has a link like this in it:
>>
>>   <a href="MENU.JSP">Main Menu</a>
>> This would work as expected on a case insensitive platform (assuming >> that
the
>> proposed change were made), but would return "file not found" errors on >>
a
case sensitive platform.  Thus, the WAR file is not portable.

How  about making the war file contents case-sensitive always, but the servlet
context optionally case-insensitive.

That way the war file could remain portable, and the path to the servlet context
could optionally be case-insensitive for case-insensitive file systems.

The war file author could still be careful to conform to case-sensitivity
always, but the person deploying the war file or installing Tomcat would not
need to be concerned with the case of file system paths outside the war file.

Jonathan

Mime
View raw message