On Sat, 17 Sep 2005 22:20:23 GMT, Raymond DeCampo
<> wrote or quoted :
>Why do you need the absolute pathname? The simplest solution is to put
>the .properties file in the classpath and load it via ResourceBundle.
>If you do not want a ResourceBundle you can use
>ClassLoader.getResource() to get the URL.
If it is a read-only properties file, you can put it in the jar. The
problem only comes when you have to create a properties file out of
thin air and it is not clear where a safe place to put it is.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.