how to read xml in applet using Dom parser
1 posts in topic
Flat View  Flat View

Posted By:   dilip_padhee
Posted On:   Thursday, April 19, 2001 12:34 AM

how to read a xml file in a japplet using a dom parser.
while reading it is giving the following error.

java.lang.NoClassDefFoundError: javax/xml/parsers/ParserConfigurationException
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:484)

But i was able to read xml using DOM parserin stand alone application.

Re: how to read xml in applet using Dom parser

Posted By:   Reza_Rahman  
Posted On:   Wednesday, April 25, 2001 11:43 AM

You need to package the jar file containing parser classes with your applet and mention it in the applet codebase attribute.
About | Sitemap | Contact