"johndubchak" wrote :
|
| And then method 2:
|
| InputStream is =
getClass().getClassLoader().getResourceAsStream("/config.xml");
|
| The InputStream is null. Also, I am using JBoss AS 4.2.3.
|
|
Remove the forward slash from the code. Try:
InputStream is = getClass().getClassLoader().getResourceAsStream("config.xml");
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180057#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...