Hi, this is really a user question, but I'll answer it here.
[EMAIL PROTECTED] wrote:
Hello,
I need help with a classloader problem. Can someone tell me the difference
between:
String s = "/data/demo.txt";
URL u1 = this.getClass().getResource(s);
URL u2 = this.getClass().getClassLoader().ge
Hello,
I need help with a classloader problem. Can someone tell me the difference
between:
String s = "/data/demo.txt";
URL u1 = this.getClass().getResource(s);
URL u2 = this.getClass().getClassLoader().getResource(s);
My problem: u1 is != null (so the path is correct and the resouce is in
the