I understand that using environment variables to communicate information such as the location of a configuration file is considered bad form -- I should use System.getProperty("myConfigFile") instead.
But how do I set a property to be read from within a web service? The AppServer is running my code for me, so I can't do it on the command line with -DmyConfigFile, right?
[Message sent by forum member 'mark_molloy' (mark_molloy)]
http://forums.java.net/jive/thread.jspa?messageID=272997