This content has been marked as final.
Show 2 replies
-
1. Re: access properties file after deployment
svgkraju Sep 24, 2002 10:23 AM (in response to jeffko32)Hi,
How to use java.util.Properties so that things like provider_URL,initial_context_factory are not required to be hard coded. The class should work for both JBoss and oc4j deployment.
regds
-raju -
2. Re: access properties file after deployment
joelvogt Sep 24, 2002 7:57 PM (in response to jeffko32)Generally I just use something like
private static final String PROPERTIES_FILE = "/usr/local/foo/foo.properties";
Then
properties.load(new java.io.BufferedInputStream(
new java.io.FileInputStream(PROPERTIES_FILE)));
Is this not working? Sorry if I missed your problem