-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Konstantin,
On 2/17/2011 5:23 AM, Konstantin Kolinko wrote:
> 2011/2/17 Captain Cid :
>>
>> Yes ..got your point...using spring its easy though
>>
>> My only question is ,
>>
>> can it be accessed using classloader and getResource()
>>
>
> Why? Just
Thanks that worked...although i was hoping to retrieve it using
classloader...
Konstantin Kolinko wrote:
>
> 2011/2/17 Captain Cid :
>>
>> Yes ..got your point...using spring its easy though
>>
>> My only question is ,
>>
>> can it be accessed using classloader and getResource()
>>
>
> Why? Ju
2011/2/17 Captain Cid :
>
> Yes ..got your point...using spring its easy though
>
> My only question is ,
>
> can it be accessed using classloader and getResource()
>
Why? Just use:
new FileInputStream(new File(System.getProperty("catalina.base"),
"conf/yourfile.properties"));
Best regards,
Kons
Yes ..got your point...using spring its easy though
My only question is ,
can it be accessed using classloader and getResource()
Brett Delle Grazie-3 wrote:
>
> Hi,
>
> On 17 February 2011 08:36, Captain Cid wrote:
>>
>> I wish to keep configuration property file outside my war. Suppose i k
Hi,
On 17 February 2011 08:36, Captain Cid wrote:
>
> I wish to keep configuration property file outside my war. Suppose i keep it
> tomcathome/conf/myfile.properties
> How can I read it using classloader from my webapp application code. I am
> not able to access it.
>
> I tried using this.getCla