RE: How to get the property file?

2001-06-26 Thread priyank . johri
You could store it in some configuration file as name=value pair (the location of which is fixed), read it in as a Java Properties object, then call Property.configureAndWatch with those arguments. We do this with Weblogic using the weblogic.properties file. -Original Message- From: [EMAI

RE: How to get the property file?

2001-06-27 Thread Hansen, Richard
You should also be able to use ClassLoader to find a config file somewhere on the class path. Here is what I did : URL configURL = Log4JConfigurator.class.getClassLoader().getResource(configFile); PropertyConfigurator.configureAndWatch(configURL.getPath(), delay); > > Hello > > Another newbie