[jboss-as7-dev] Class.getResource returns wrong URL ?

Bartosz Baranowski bbaranow at redhat.com
Thu Mar 8 04:31:03 EST 2012


Hi 
Ive found something weird in AS7 resource lookup - to be precise, below code executed in AS7 gives output like:


Class c = this.getClass();
URL u1 = c.getResource("../");
URL u2 = c.getResource("../../");





More information about the jboss-as7-dev mailing list