Hi All,

I have got a XML which defines some constants which are read by my
Session Bean while serving some requests. Reading is done in a helper
class. I am unable to read this XML file.

I use :

    
     InputStream fi = ClassLoader.getSystemResourceAsStream(xmlFile) ;

        I am getting fi as NULL.
     
     InputStreamReader isr = new InputStreamReader(fi);
     
     
     InputSource is = new InputSource(isr);
     
     
     DOMParser parser = new DOMParser();
     
     parser.parse(is)

Any help would be great;

SAROJ



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to