AW: [jdom-interest] JDOM and Applets
lober at ohana.org
Mon Jun 26 12:19:15 PDT 2000
That didn't do it. The applet tag is now:
APPLET CODE = "JappletAppl.class" ARCHIVE =
"IA9.jar,jdom-b4.jar,xerxes.jar" WIDTH = 100 HEIGHT = 80
what about the openxml.jar file in Hokan's example? is that needed? where
did it come from? (I tried downloading openxml-1.2.jar from openxml.org
and blindly including it in the ARCHIVE =
"IA9.jar,jdom-b4.jar,openxml-1.2.jar,xerxes.jar", but now I get the
exception trying to load org/xml/sax/helpers/XMLReaderFactory.class.
The machine I developed this applet on has Java Forte with the JDK 1.3, and
has sun's XML parser installed. But, there's no code in the applet to use
that parser. My application is using the default package, and has an
application entry point as well as the applet entry point (which just
passes CodeBase to the application entry point). Calling the program from
the application entry point, while running the development environment, it
At 10:46 AM 6/26/2000, Dino Valente wrote:
>I had the same problem some time ago. I think you have to remove the spaces.
>At 09:20 AM 6/26/00 -0700, you wrote:
> > My code snippit looks like this:
> >APPLET CODE = "JappletAppl.class" ARCHIVE = " IA9.jar, jdom-b4.jar,
> xerxes.jar" WIDTH = 100 HEIGHT = 80
> > The first part of the error I get is (from the Java 1.3 Plug-in console):
> > java.lang.NoClassDefFoundError: org/xml/sax/SAXNotRecognizedException
> > <>(LoadJDOM.java:97)
> > <>(LoadJDOM.java:84)
> > at Annotations.loadIML1(Annotations.java:743)
> > at DAFrame.getFrame(DAFrame.java:224)
> > (etc...)
> > My code, of course, works fine in the development environment.
> > Is that the problem?
> > Thanks for any help,
> > Bill
> > At 12:29 AM 6/23/2000, you wrote:
> > JDOM and applets seem to work without problems.
> > I generated compressed jar files with e.g. 'jar cf myappl.jar'.
> > The applet tag looks like this:
> > <
> > ""
> > ""
> > >
> > <>
> > Håkan Arvidsson -----Ursprüngliche Nachricht----- Von: Vincent Vollers
> >[mailto:tsunami at thevoid.demon.nl] Gesendet: Mittwoch, 21. Juni 2000 13:19
> >An: jdom-interest at jdom.org Betreff: [jdom-interest] JDOM and Applets
> > Hi all, I'm trying to get JDOM to work in an applet, and it works fine
> >in appletviewer, but whenever I try to run it in a browser, it all of
> >sudden can't find it's resources. (in xerces.jar to be precise) but it
> >still can't find it's classes when I repack both jdom and xerces in 1 jar
> >file. (the file which it seems to be missing: org/xml/sax/InputSource is
> >present in the .jar archive) or when I insert a manifest file in jdom.jar
> >which points to xerces.jar. and when I use the java plugin, it says ""
> >and keeps loading.. and In all three cases it works fine in the
> >appletviewer or when I try a test program and run it with java.exe Has
> >anyone tried writing an applet which uses JDOM? - Vincent Vollers
More information about the jdom-interest