Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 85600 invoked by uid 500); 30 May 2001 17:49:58 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 85532 invoked from network); 30 May 2001 17:49:57 -0000 Received: from web10301.mail.yahoo.com (216.136.130.79) by h31.sny.collab.net with SMTP; 30 May 2001 17:49:57 -0000 Message-ID: <20010530174958.96440.qmail@web10301.mail.yahoo.com> Received: from [194.82.103.138] by web10301.mail.yahoo.com; Wed, 30 May 2001 18:49:58 BST Date: Wed, 30 May 2001 18:49:58 +0100 (BST) From: =?iso-8859-1?q?Anson=20To?= Subject: How to use Xerces with Tomcat To: tomcat-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi all, Have you ever come across using xml parser in servlet? If not, sorry please ignore my message. I am trying to parse a XML document from a servlet, which returns a "java.lang.NoClassDefFoundError: org/jdom/JDOMException" on receiving the document from client. Settings: Xerces1.4/JDOM tomcat3.2.1 JDK1.3 IIS5/Win2k In the meantime, I have tried setting the classpath in tomcat_dir\bin\tomcat.bat pointing to xerces.jar and jdom.jar (the JDom and Xerces have to be "before" the JAPX parser, required by JDom) but I still got the above error. How should I configure the xerces.jar and jdom.jar with tomcat? Many many thanks, Anson ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie