This content has been marked as final.
Show 2 replies
-
1. Re: Problem with the Jboss classloader
raja05 Dec 7, 2003 12:52 PM (in response to stanimir)What do you use to load the properties file?
Try
Thread.currentThread().getContextClassLoader().getResourceAsStream("configuration.properties");
-Raj -
2. Re: Problem with the Jboss classloader
stanimir Dec 7, 2003 1:32 PM (in response to stanimir)thank you very much Raj,
It works.
I used to use Thread.currentThread().getContextClassLoader().getResource("...")
instead of getResourceAsStream("...") as you suggest.
Thank you.
Cheers.
Stan