[jboss-user] [Installation, Configuration & DEPLOYMENT] - loading xml in jboss

gcameo do-not-reply at jboss.com
Wed Aug 6 07:14:21 EDT 2008


I have an xml file which I want to load like this
InputStream in = getClass().getClassLoader().getResourceAsStream("META-INF/model.xml");
  |     InputSource inputSource = new InputSource(in);
but in is always null . Can someone tell me what I am doing wrong??

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

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



More information about the jboss-user mailing list