[jboss-user] [Beginners Corner] - Re: File Path in EAR..!!!
jaikiran
do-not-reply at jboss.com
Thu Jul 13 02:30:54 EDT 2006
anonymous wrote : WEB-INF/conf/tm.xml
This means that your tm.xml file is in youWar.war/WEB-INF/conf directory. So your code should look like:
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("WEB-INF/conf/tm.xml");
|
| InputStreamReader inputStreamReader = new InputStreamReader(inputStream) ;
|
| thidPartyLib.someAPI(inputStreamReader);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957632#3957632
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957632
More information about the jboss-user
mailing list