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





------- Additional Comments From [EMAIL PROTECTED]  2002-06-05 15:44 -------
Humm.  I have the Java Servlet Specification version 2.3 Final which
on page 140 says

"
public java.util.Set getResourcePaths(java.lang.String path)

Returns a directory-like listing of all the paths to resources within
the web application whose longest sub-path matches the supplied path
argument.  Paths indicating subdirectory paths end with a '/'. The
returned paths are all relative to the root of the web application and
have a leading '/'.  [ examples ]

Parameters:
the - partial path used to match the resources, which must start with a /

Returns: a Set containing the directory listing, or null if there are no
resources in the web application whose path begins with the supplied path.
Since: Servlet 2.3
"

This doesnt give guidance about a null being passed in.
It doesnt mention a NamingException.  
Doesnt mention changes to '//' or tweaking '/*'

That said, I dont see anything wrong with your suggested changes.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to