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 2002/06/05 16:07:34 UTC
DO NOT REPLY [Bug 9629] New: -
Fix ServletContext.getResourcePaths to match spec
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9629>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9629
Fix ServletContext.getResourcePaths to match spec
Summary: Fix ServletContext.getResourcePaths to match spec
Product: Tomcat 4
Version: Nightly Build
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: avm3@cdc.gov
According to my understanding of the spec, the method
ServletContext.getResourcePaths() should:
1. Return null if input path argument is null (currently, NPE thrown)
2. Return null if a NamingException occurs in looking up a path
(all the occurrances of NamingException [I've seen] report
the error: "resource not found") (current empty set is returned)
3. Change all occurrances of the pattern "/*" in the input path to "/"
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>