> i have a java applet, where the html file contains the line:
> <APPLET ARCHIVE="../a/live.jar" CODE="Live.class" WIDTH=650 HEIGHT=650
> ALIGN=LEFT>
I suspect you need to set the
'codebase' higher up the chain,
codebase='..'
code='Live.class'
archive='a/live.jar'
BTW - it would not coincidentally
be rge same applet I am using fo this page
would it?
<http://www.1point1c.org/model/index.jsp>
LiveGraphics3D?
What's your URL?
And while we are here, please do not cross-post
<http://www.physci.org/codes/javafaq.jsp#xpost>
and avoid invalid groups like
'comp.lang.java.misc' (Yes, yes, I know your
server carries it, that does not make it valid)
F'Ups set to c.l.j.programmer, since I think
this problem has far more to do with basic
applet parameters than anything 3D..

Signature
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Xah Lee - 03 May 2004 13:48 GMT
the problem is solved by changing the line
<APPLET ARCHIVE="../a/live.jar" CODE="Live.class" WIDTH=650 HEIGHT=650>
to
<APPLET CODEBASE="../" ARCHIVE="live.jar" CODE="Live.class" WIDTH=650 HEIGHT=650>
and moving the live.jar one dir up.
note that the following doesn't work:
<APPLET CODEBASE="../a/" ARCHIVE="live.jar" CODE="Live.class" WIDTH=650 HEIGHT=650>
my guess is that browers has some security issue of accessing local files.
PS Thanks Andrew Thompson for help. (Yes, LiveGraphics3D)
Xah
xah@xahlee.org
http://xahlee.org/PageTwo_dir/more.html