Anjan Bacchu
Posts: 18
Nickname: anjanb
Registered: Mar, 2002
|
|
How to get Properties loaded automatically by the JVM
|
Posted: Mar 13, 2002 11:35 AM
|
|
Advertisement
|
Hi,
I know of 2 techniques to get Java Properties into the System Namespace. a) through the -D command line parameter during JVM startup
b) System.setProperty(), setProperties() calls.
Is there any way I can place a Property file in a particular place and expect that its properties get loaded as System Properties ?
I am looking for a way similar to jndi.properties (which if placed in the classpath, will get loaded by the JNDI sub-system).
Thank you for any hints,
Best Regards, ANJAN
|
|