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



Reply via email to