The underneath is my code in
jsp:
-----------------------------------------------
javax.xml.parsers.DocumentBuilderFactory dbf=javax.xml.parsers.DocumentBuilderFactory.newInstance();
javax.xml.parsers.DocumentBuilder db=dbf.newDocumentBuilder();
javax.xml.transform.TransformerFactory tf=javax.xml.transform.TransformerFactory.newInstance();
javax.xml.transform.Transformer t=tf.newTransformer();
org.w3c.dom.Document document=db.parse(request.getRealPath("tree\\tree2.xml"));
javax.xml.transform.dom.DOMSource domsource=new javax.xml.transform.dom.DOMSource(document);
----------------------------------------------
This code is under the weblogic7 however can normal movement,When I try movement this the code of jsp in the tomcat4,Throwing the exception is shown as below:
javax.servlet.ServletException: Class org/w3c/dom/Node violates loader constraints
............................
What is it???I should how resolve this problem
Thanks for your help!
[ April 14, 2003: Message edited by: xi ruo ]