[jboss-user] [Beginners Corner] - Re: Parsing XML file out of jar
jaikiran
do-not-reply at jboss.com
Thu Aug 9 03:29:01 EDT 2007
How about:
builder.build(this.getClass().getClassLoader().getResourceAsStream("DBConfig.xml"));
Assuming that the DBConfig.xml is at the root of your jar.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072348#4072348
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072348
More information about the jboss-user
mailing list