RE: ServletContext.getResourcePaths?
"Immanuel, Gidado-Yisa" <[email protected]> Mon, 3 Jun 2002 11:08:32 -0400
| Newsgroups | gmane.comp.jakarta.watchdog.devel |
|---|---|
| Message-ID | <B7F9A3E3FDDDD11185510000F8BDBBF2054EA109@MCDC-ATL-5> |
Servlet 2.3 doc for ServletContext.getResourcePaths says: 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. How is this to be intepreted when a 'null' value is passed in? I would expect (according to the doc) a 'null' value to be returned, though Tomcat throws a NullPointerException, which is valid, though not documented. - Gidado > -----Original Message----- > > I don't see any tests for this. Is there one? > If not, I'll be sending in a patch for it very > shortly. > > - Gidado