> Hi !
>
> I'd like to put an XML file in the very same jar archive file that
> contains executable classes of the application. That is no problem.
>
> The problem is how to read the XML file ...
Class.getResource("theXMLfile.xml")
HTH
Andrew T.
Drazen Gemic - 11 Apr 2006 19:19 GMT
>>Hi !
>>
[quoted text clipped - 4 lines]
>
> Class.getResource("theXMLfile.xml")
Thank you. I had a bright moment myself in the meantime and discovered
ClassLoader.getSystemResource, which is the same thing, more or less.
DG