I have a another question. I don't need to modify this file but only read.
Imagine a siutation when a service is deployed in a war file with a
confioguration.xml file - where the configuration settings are stored. How
can I obtain a relative path to this file?
Many thanks in advance ;)



Tomek Sztelak wrote:
> 
> First hint : don't do it :). Modifying file inside deployed webapp is
> tricky business, what if your webapp isn't unpacked ?
> If you have file you need to modify then place is somewhere outside
> app, maybe in db or so.
> 
> On 4/25/07, Wacław Borowiec <[EMAIL PROTECTED]> wrote:
>> Hello
>>
>> How to obtain a relative path of a service? What is an actual problem: I
>> try
>> to dynamicaly modify a trust store for a web service securisty, so I have
>> to
>> create an OutputStream with an absolute path (using JBoss, relative path
>> doesn't work) when saving the trust store file. But in WSS4J properties
>> file, I pass a relative path to the trust store. So how to to save a file
>> inside the deployed XFire application?
>>
>> thank for any help
>> Wacław Borowiec
>>
>>
>>
> 
> 
> -- 
> -----
> When one of our products stops working, we'll blame another vendor
> within 24 hours.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/service-local-path-tf3646760.html#a10359230
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to