[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Creating URL Resource
PeterJ
do-not-reply at jboss.com
Thu Jun 26 15:47:37 EDT 2008
Here is one way (there are many others). Add something like -Dmy.property.file=<location-of-file> to the JAVA_OPTS in the run script. Then in your app, use:
String propFile = System.getProperty("my.property.file");
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160972#4160972
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160972
More information about the jboss-user
mailing list