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=4830>. 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=4830 Catalina class loader throws exception while getting a directory's URL using Class.getResource() [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From [EMAIL PROTECTED] 2001-11-13 22:43 ------- Sorry, but I do not expect to get a null value. Tomcat 3.x returned the directory URL the same way the standard Java Class Loader does. The following class with a classpath relative directory name as parameter prints out the absolute path. public class Test { public Test(){} public static void main(String args[]) { Test obj = new Test(); System.out.println(obj.getClass().getClassLoader().getSystemResource (args[0])); } } I expect the same behaviour from the Catalina Class Loader as the standard Java Class Loader. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>