Deepal,
I belive this is the third time i am seeing this question asked. How
about putting this as a private util method because there apears to be
sufficient interest on it. Afterall this is inherent to our deployment
model.
Thanks
Chathura
On 1/19/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
> Hi Bram;
>
> well the right way of doing is take service class loader and load the
> resurces.
>
> You can package your aar file putting your resources , and say that when a
> requst come you want to acess your resources from service impl class then
> the right way is as follows;
>
> InputStream in =
> getClass().getClassLoader().getResourceAsStream("myResource.resourec");
>
> I tested it and it work from me . pls do a try and if you have some problem
> , let us know
>
> Thanks,
> Deepal
> ................................................................
> ~Future is Open~
>
> ----- Original Message -----
> From: "Bram Biesbrouck" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, January 20, 2006 4:47 AM
> Subject: [Axis2] aar/jar file path
>
>
> > Hi all,
> >
> > If a class in my .aar file wants to read from a resource in that .aar file
> > (via File, InputStream), how do I set/get the path that is searched for by
> > Axis?
> >
> > Bram
> >
>
>
>
--
Chathura Herath
http://chathurah.blogspot.com/