Hi,

I am attempting to embed a resource file in an Axis2 .aar, but haven't been
able to make this work.

I have been using the syntax:

URL propUrl = this.getClass().getResource("/myResource.properties");

This returns null.  I've tried putting the resource file in various places
in the .aar, but so far no joy.

I'm running this as a Spring application, BTW.  Not sure if that makes a
difference.

Am I missing something, or is there some special syntax I need to use to
make this work?  (I would be happy placing the properties outside the .aar
if that is easier.)

Thanks in advance for any replies.
_____________________________________________________________
Stephen Kilburn, GeoPraxis Inc.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to