[jboss-user] [Installation, Configuration & Deployment] - Re: how to configure application from global properties file

PeterJ do-not-reply at jboss.com
Fri Jul 28 14:47:55 EDT 2006


Try something like this:

String dataDir = System.getProperties("jboss.server.data.dir");
  | InputStream is = new FileInputStream(dataDir + "global.properties");
  | Properties globalProp = new Properties();
  | globalProp.load(is);



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

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



More information about the jboss-user mailing list