I reply myself, because I just find the solution by using : this.getClass().getClassLoader().getResource("myFile.xml")
mourad jaber wrote:
Hi,
I'm trying to understand the folowing problem :
I've got some xml files into the jar file of my webapp.
when I use a stand alone java application to retreive that ressource by using ClassLoader.getSystemClassLoader().getResource("myfile.xml") it works...
but it doesn't work any more ( I get null ) when I do it into my webapp...
Any suggestion ?
Thanks a lot
Mourad
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]