[jboss-user] [Management, JMX/JBoss] - Re: Loading file from within a sar

Doug.Palmer do-not-reply at jboss.com
Tue Aug 22 09:55:47 EDT 2006


Thread.currentThread().getContextClassLoader().getResource("path/to/file");

Where the path starts in your sar/jar/etc.

Regards
Doug

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

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



More information about the jboss-user mailing list