Ok I think I have somethimg more specific for you. I have used JDOM to read my XML from the command line with no problem. I Then ported the code (cut and paste) to a
Java Servlet. Within the try block of the servlet I added a simple "Hello World" type html code using print writer as a test at the end of the code, concerning JDOM. I have now found that if I comment out all but the first line of code cocerned with reading the XML (SAXBuilder builder = new SAXBuilder() ; ) The Hello World message is displayed. The servlet appears to not like the next line when I included the program line by line (for debug)
Document aDocument = builder.build(new File("xml/myFile.xml"));
Any suggestions?