> Any chance you could mail a snippet of your code to take a look at? Are you
> using the ServletContext.getResource() method to load the config file?

Sorry took a while to respond. I actually tried almost every sinlge read
method of SAXReader in order to parse the xml into Document, and finally
when I changed from:

SAXReader reader = new SAXReader();
try {
    dom = reader.read(fileURL);
} catch (DocumentException de) {
   //blah
}

to

dom = reader.read(fileURL.openStream());

it's all magically worked. I'm not sure if it's a bug or whatnot, but
reader.read(InputStream) seems to work fine while reader.read(URL)
don't...

Best regards,
--
HTTP is a stateless protocol, and the Internet is a stateless development
environment
--
Igor Fedulov
E-mail : [EMAIL PROTECTED]
Work Ph: 773.775.1595
Home Ph: 773.281.8938
Cell Ph: 773.580.5935




_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to