Try packaging it in a jar and sending it to the client. The jar would have to be in the tomcat's html home ("root") or in some subdirectory thereof.
BTW: This behavior is not really that surprising, since you had the applet-viewer classpath set correctly on your machine. This is one of the hurdles Applet developers frequently run into...
Good Luck,
Greg
-----Original Message-----
From: Rajesh Kumar Ilango, Gurgaon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 27, 2002 9:20 AM
To: JDJList
Subject: [jdjlist] Appl
Hi,
I am writing a applet, which uses a XML file.
I am also using xerces parser for java in the applet.
The Applet works fine from in AppletViewer but when I deploy it in Tomcat
4.0 it gives me ClassNotFound Exception for
org/apache/xerces/parsers/DOMParser.
I find the following entries in the log file of Tomcat.
127.0.0.1 - - [27/Aug/2002:21:41:26 5050] "GET
/JAGFinPro/classes/com/jag/xml/XMLDOMWrapper.class HTTP/1.1" 304 -
127.0.0.1 - - [27/Aug/2002:21:41:26 5050] "GET
/JAGFinPro/classes/org/apache/xerces/parsers/DOMParser.class HTTP/1.1" 404
723
127.0.0.1 - - [27/Aug/2002:21:41:26 5050] "GET
/JAGFinPro/classes/org/apache/xerces/parsers/DOMParser.class HTTP/1.1" 404
723
/JAGFinPro/classes/ the path where I have my Applet Class.
Where should I copy xerces.jar file which contain the Parser, so that it is
picked up correctly.
Thanx & Regards
Ilango
_____________________________________________________________________
Rajesh Kumar Ilango
To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm
To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm