Article View: aus.computers.java
Article #1132Re: APPLETS SAVING TO A FILE
From: Semoi
Date: Wed, 19 May 1999 00:00
Date: Wed, 19 May 1999 00:00
27 lines
1597 bytes
1597 bytes
With applets it's "impossible" to write to a file, they are specially
designed for Internet. They have restictions so nobody can do any damage to
a computer using a applet.
If there weren't restrictions I could make a applet which deletes all files
on a computer, place it on my homepage and everyone who uses the applet have
a empty HD ;)) I hope you understand what you want to do is impossible.
If you want to write files you have to make a application.
Semoi
>I am trying to write an applet that saves to a file. My intention is to
>click a button "save" and have the information held in the applet variables
>saved to a file. The file should be on a local machine that is running the
>applet. I need this to run on a browser not appletviewer Is it possible at
>all?
>
>eg when button "save" is clicked
>
> if (e.target ==save ){
>
> WHAT CODE DO I need here????????
>
>
> }
>
>Thanks for help and examples
>
Technical Details
Message-ID:
<7hvbhq$h9d$1@reader.wxs.nl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7hqilr$ljk$1@usenet.usq.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d6db,7ea2cc1195b029cd X-Google-Attributes: gid10d6db,public From: "Semoi" <dutch_semoi@hotmail.com> Subject: Re: APPLETS SAVING TO A FILE Date: 1999/05/19 Message-ID: <7hvbhq$h9d$1@reader.wxs.nl> X-Deja-AN: 479785344 References: <7hqilr$ljk$1@usenet.usq.edu.au> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@wxs.nl X-Trace: reader.wxs.nl 927150458 17709 195.121.164.184 (19 May 1999 21:47:38 GMT) Organization: World Access / Planet Internet NNTP-Posting-Date: 19 May 1999 21:47:38 GMT Newsgroups: aus.computers.java