Help wanted

Rob Seiler (seiler@gippsnet.com.au)
Sat, 28 Jun 1997 23:48:29 +1000

Message-Id: <199706281349.XAA16219@yarra.vicnet.net.au>
From: "Rob Seiler" <seiler@gippsnet.com.au>
To: <java-security@web2.javasoft.com>
Subject: Help wanted
Date: Sat, 28 Jun 1997 23:48:29 +1000

Hello there,

I'm trying to use a simple java applet in local html files and having
trouble getting them to load associated local images. I want this
capability in a kiosk type situation which will display html files & use
"buttons" for navigation.

For example -

<APPLET CODE=myGraphicsButton.class WIDTH=120 HEIGHT=60>
<PARAM NAME=src VALUE="image1.gif">
<PARAM NAME=href VALUE="file2.html">
</APPLET>

Complete compatibility with MS Internet Explorer is required and with
version 3.0 I could do this. However with version 3.02, files that used to
work now don't and the following is returned on the status bar -

"exception: com.ms.applet.AppletSecurityException: security. Couldn't
connect to with origin from file"

If I leave the graphics components out of my applet, the link navigation &
button click etc work as they should. I've looked at a lot of FAQ's and I
think the answer is related to "improved" security in MSIE ver 3.02, which
further restricts access to local files.

As I understand it, applets loaded by the class loader will not be able to
read a local file, but if loaded by the file system loader then it should
be possible. My big question is how to express this intention in the
<APPLET> coding so that both the applet & its image are seen as local
files.

Assistance will be VERY much appreciated.

Best regards,
Rob Seiler
... e-mail: seiler@gippsnet.com.au
... Voice: +61 (03) 5156 8309

For GippsNET & Sarsfield Solutions
... Web: http://www.gippsnet.com.au
... e-mail: sarsol@gippsnet.com.au