From: | radu(dot)popescu at aldratech(dot)com (Radu-Adrian Popescu) |
---|---|
To: | |
Subject: | [Pljava-dev] reading a file |
Date: | 2004-11-11 20:46:37 |
Message-ID: | 4193CFAD.3090406@aldratech.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
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://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20041111/dc1a0e96/attachment.bin>
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Hallgren | 2004-11-12 00:15:04 | [Pljava-dev] reading a file |
Previous Message | Thomas Hallgren | 2004-11-11 20:08:45 | [Pljava-dev] reading a file |