tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44337] - Dir listing crashes if no readme-file present
Date Sat, 02 Feb 2008 18:34:59 GMT
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=44337>.
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=44337





------- Additional Comments From funkman@joedog.org  2008-02-02 10:34 -------
Created an attachment (id=21461)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21461&action=view)
Patch to DefaultServlet.java

Patch is for tomcat6 trunk. 

When the readme resource is not found. A NamingException is thrown instead of
assuming null is returned.

Patch eats the NamingException and returns null as well as optionally logs it
if debugging turned up very high.

Same condition can occur with the localxslt lookup.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message