[jboss-user] [Beginner's Corner] - Re: jboss 5 and ClassLoader problem

jaikiran do-not-reply at jboss.com
Thu Sep 17 02:50:10 EDT 2009


"theice" wrote : hi, jaikiran, what's the better way?
  | 

Depends on why you need the "path" of the resource. If you just need the resource, you could do something like:

this.getClass().getClassLoader().getResource("...");

Let us know some more details about what you are trying to do. 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255652#4255652

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255652



More information about the jboss-user mailing list