Hello people, When I am trying to read from an XML file inside a JSP page I get a ParserConfigurationException. What may have caused that? (The code itself has been tested as an app and it's OK). Tom.
ParserConfigurationException gets thrown when there is a serious error involving the parser classes. Perhaps you have conflict between different parser versions? Which parser are you trying to use? Bill
Actually, I don't know :-) I have a Jakarta-Tomcat server (ver. 4 - beta 5) and the first time I tried my page I got the configuration exception. Then I put a couple of jars in Root/WEB-INF/lib directory (jaxp.jar, crimson.jar, xalan.jar - think they are the Sun's API for XML parsing) and the problem got bigger : the server shutdown on its own and I had to exlpore the logs to find out that a "NoClassDefFoundException : javax/xml/parsers/ParserConfigurationException not found" (or omething similar to that...) had occurred. Any ideas??? Tom.