Re: Help...

Charlie Lai (Charlie.Lai@Eng)
Mon, 13 Oct 1997 11:12:04 -0800 (PDT)

From: Charlie.Lai@Eng (Charlie Lai)
Message-Id: <199710131812.LAA00543@angeles.eng.sun.com>
Subject: Re: Help...
To: girish@sh.oda.epson.co.jp (Girish V. Gulawani)
Date: Mon, 13 Oct 1997 11:12:04 -0800 (PDT)
In-Reply-To: <01bcd794$4abd8fc0$ed179a85@shravan> from "Girish V. Gulawani" at Oct 13, 97 01:55:56 pm

hi,

> I want to access the local files/directories through applet loaded by
> NetScape navigator Gold3.0. I am using JDK 1.1.4 for Winodws. The
> samples on the site given are giving security exception.

the samples will only work if you use appletviewer/hotjava.
in netscape 3.x, file IO is not supported.

the only way to do file IO in netscape 3.x is if your
class is local, and you write a DLL to perform the IO using
native methods. your class must call setScopePermission before
loading the library.

charlie