[jdom-interest] Getting Started...and stalled by SAXBuilder error. Help?

guru at stinky.com guru at stinky.com
Sun Jul 1 09:13:37 PDT 2001


> This code is being executed as an applet from internet explorer - is there a
> setting for Explorer's Java VM runtime?  I'll see if I can't find something
> like that in the registry, and if I do, I'll post it here for archive's
> sake.

Applets suck.  You have to use the ARCHIVE attribute in the APPLET tag
to make it download a class archive, and I'm not sure it works for
JARs in IE.  Alternately, you could unjar jdom.jar (jar xf jdom.jar)
into the code base where your applet is.  Since your applet class is
in a package called "applet" (bad idea, by the way -- use your company
name, like com.rockysoft.MyApplet), you'd end up with

applet/MyApplet.class
org/jdom/Element.class

etc.

You can put all these together in a separate directory on your web
server if you use the CODEBASE attribute.

Read the docs for the APPLET tag for more information.

You should also know that you probably need to use the 1.1 JVM version
of JDOM.

-- 
Alex Chaffee                       mailto:alex at jguru.com
jGuru - Java News and FAQs         http://www.jguru.com/alex/
Creator of Gamelan                 http://www.gamelan.com/
Founder of Purple Technology       http://www.purpletech.com/
Curator of Stinky Art Collective   http://www.stinky.com/



More information about the jdom-interest mailing list