[Pljava-dev] reading a file

Radu-Adrian Popescu radu.popescu at aldratech.com
Thu Nov 11 20:46:37 UTC 2004


Thomas Hallgren wrote:
> Russ,
> 
>> Hi,
>> I wrote a Java class that needs to read in a properties text file.
>> Where should I put the properties file in the Postgres environment so
>> my class doesn't get a "File not found" error?
>> Thanks,
>> Russ
>>  
>>

I guess you can always use the classloader resource mechanism, and locate the 
property file[s] near your classes or in the jar.

HTH,
-- 
Radu-Adrian Popescu
CSA, DBA, Developer
Aldrapay MD
Aldratech Ltd.
+40213212243
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3206 bytes
Desc: S/MIME Cryptographic Signature
Url : http://pgfoundry.org/pipermail/pljava-dev/attachments/20041111/dc1a0e96/attachment.bin 


More information about the Pljava-dev mailing list