Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
David Kerber wrote:
Previously, I had been using the java Preferences class, which stores
things in a way that is transparent to the java program (in the
registry on windows, elsewhere on other OS's).
IMH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
David Kerber wrote:
> Previously, I had been using the java Preferences class, which stores
> things in a way that is transparent to the java program (in the
> registry on windows, elsewhere on other OS's).
IMHO, the Java Preferences class is a
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
David Kerber wrote:
This is a followup to my question about startup parameters. After
digging around a bit, it looks like my best bet is to use the Properties
class to read my settings from a disk file at start
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
David Kerber wrote:
> This is a followup to my question about startup parameters. After
> digging around a bit, it looks like my best bet is to use the Properties
> class to read my settings from a disk file at startup.
That's generally how th
David Kerber wrote:
Caldarale, Charles R wrote:
From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: How to
locate a configuration file on disk at runtime
2. Put the config file somewhere in the tree of my webapp, such at
docbase or in conf. But again, I can't figure out h
My preference is JNDI ( ) for such things.
Then in web.xml - you can create a default entry in web.xml"
configFile
/etc/stuff
java.lang.String
Then it can be overridden in your context config:
Then looked up in java via:
***
import javax.naming.Context;
import javax.naming.Initial
Caldarale, Charles R wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Subject: Re: How to locate a configuration file on disk at runtime
2. Put the config file somewhere in the tree of my webapp, such at
docbase or in conf. But again, I can't figure out how to pick that
locati
> From: David Kerber [mailto:[EMAIL PROTECTED]
> Subject: Re: How to locate a configuration file on disk at runtime
>
> > 2. Put the config file somewhere in the tree of my webapp, such at
> > docbase or in conf. But again, I can't figure out how to pick that
> &
David Kerber wrote:
This is a followup to my question about startup parameters. After
digging around a bit, it looks like my best bet is to use the
Properties class to read my settings from a disk file at startup. The
properties api appears to be easy to use, and works very similarly to
the