You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/03/22 16:42:09 UTC
DO NOT REPLY [Bug 27847] New: -
getContext() does not differ case on windows
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27847>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27847
getContext() does not differ case on windows
Summary: getContext() does not differ case on windows
Product: Tomcat 5
Version: 5.0.19
Platform: Other
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: juergen@jwi.de
Make a directory "test" in a context bingo on windows.
http://localhost:8080/bingo/test/
found.
http://localhost:8080/bingo/Test/
404
But if you execute the jsp
<%
Object o = application.getContext("/bingo/Test/");
out.print(""+o);
Object o1 = application.getContext("/bingo/test/");
out.print(""+o1);
%>
o and o1 are both not null.
I think the first one o should be null to be consistent to the result in the
browser.
Weblogic 8.1 SP2 does find both the upper case and lower case url and both
getContext() results are not null.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org