Thread View: aus.computers.java
4 messages
4 total messages
Started by Boyick Mhlanga
Tue, 18 May 1999 00:00
APPLETS SAVING TO A FILE
Author: Boyick Mhlanga
Date: Tue, 18 May 1999 00:00
Date: Tue, 18 May 1999 00:00
16 lines
1093 bytes
1093 bytes
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
Re: APPLETS SAVING TO A FILE
Author: Tom Davies
Date: Wed, 19 May 1999 00:00
Date: Wed, 19 May 1999 00:00
21 lines
1291 bytes
1291 bytes
Boyick Mhlanga wrote:
>
> 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
You'll need to sign your applet, and as for the code, RTFM.
Tom
Re: APPLETS SAVING TO A FILE
Author: 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
>
Re: APPLETS SAVING TO A FILE
Author: Dion Gillard
Date: Sun, 23 May 1999 00:00
Date: Sun, 23 May 1999 00:00
12 lines
1213 bytes
1213 bytes
In article <7hvbhq$h9d$1@reader.wxs.nl>, dutch_semoi@hotmail.com says... | 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. Not impossible with signed applets.... dIon
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads