Of course you can write a file - there's nothing magic about Applets.  Set your
browser's security to allow it.  Most browsers are set to some set of high-security
options by default.  The other option is to sign your Applet; most browsers allow
different security levels for signed (trusted) and unsigned Applets.

Kantartzis V wrote:

> you can read a file with an applet by instanciating a URL of type
> "file://" , but you can not write into the file.
>
> On Thu, 4 Nov 1999, Bernardo Paz Betancourt wrote:
>
> > Applets can NOT open or write files, for security
> > I had the same problem trying to acces to my data base in oracle by an applet.
> > The reason could be this restriction see documentation on applet restrictions.
> >
> > Bernardo
> >
> > At 09:57 a.m. 04/11/99 +0800, you wrote:
> > >
> > >Dear Sirs:
> > >I am junior JAVA programmer, one question need your help.
> > >I had RedHat Linux 6.0 with Java 1.2 SDK and PostgreSQL database,
> > >I had copy the postgresql.jar into /jdk1.2/jre/lib/ext.
> > >
> > >then, I wrote an applet just query the data from PostgreSql database,
> > >and show the result on screen, then created the test.html file,
> > >and include the class , when I use appletviewer test.html, I can see
> > >the data everything is OK,
> > >
> > >but when I put the html on my web, then I can see the applet area show
> > >"Can't find Database Driver ...... postgresql.drive...."
> > >It's anything Linux envirounment setting error?
> > >Tks!
> > >
> > >Jones Chang
> > >
> > >
> > >----------------------------------------------------------------------
> > >To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > >
> > >
> > ______________________________
> > Dr. Bernardo Paz Betancourt
> > TROPANDES Project
> > casilla 415
> > tel/Fax: (591) 2 41.18.34
> > http://www.megalink.com/tropandes
> > La Paz - Bolivia
> >
> >
> > ----------------------------------------------------------------------
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to