AW: [jdom-interest] JDOM and Applets

Arvidsson, Hokan hokan.arvidsson at softwareag.com
Fri Jun 23 00:29:32 PDT 2000


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:
<APPLET  
    CODE = "mypackage.MyClass" 
    ARCHIVE = "aelfred.jar,myappl.jar,jdom-b4.jar,openxml.jar,xerces.jar" 
    WIDTH = 400 HEIGHT = 300 >
</APPLET>

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
"applet not initialized" 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
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20000623/8c2d990c/attachment.htm


More information about the jdom-interest mailing list