Bug 3936 - getResources does not work
Summary: getResources does not work
Alias: None
Product: Tomcat 4
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 4.0 Final
Hardware: All All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2001-10-03 02:31 UTC by Rickard
Modified: 2004-11-16 19:05 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Rickard 2001-10-03 02:31:17 UTC
WebappClassLoader does not seem to implement getResources properly. There is an
implementation for getResource that does things properly, but findResources
simply delegates to super(). 

For example, this means that if I have multiple JAR files in WEB-INF/lib each of
which contains a file foo.txt, and I want to get URL's to all of those files, I
cannot use getResources("foo.txt") as I should be able to.
Comment 1 Remy Maucherat 2001-10-04 11:47:06 UTC
Should be fixed in the 10/05/2001 nightly.