Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

jar ressource pb

mourad jaber

2003-06-04

Replies:

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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.