Closed Thread Icon

Topic awaiting preservation: Applet opening an html document Pages that link to <a href="https://ozoneasylum.com/backlink?for=8947" title="Pages that link to Topic awaiting preservation: Applet opening an html document" rel="nofollow" >Topic awaiting preservation: Applet opening an html document\

 
Author Thread
Lord_Fukutoku
Paranoid (IV) Inmate

From: West Texas
Insane since: Jul 2002

posted posted 11-17-2003 22:56

Problem:
We need an applet that can be saved and reloaded at a later time. However, an applet can't write to a remote file system. Nor can it write to the server (unless I overlooked something). And it can't access the system's clipboard either. Unless it's signed...


Possible solution 1:
Something along the lines of this javascript bit:
newWin = window.open();
newWin.document.write(string with save info);

Is there something equivalent in Java?


Possible solution 2:
Create an xml file with the save information, and open it as a new window? I know next to nothing about using xml in Java, so if this is a reasonable/practical idea for this, does anyone have any good links I can read through about it?


Or is there another way to save/reload information that someone can think of?

Many thanks,
LF

[edit: er, I think I got lost on my way here... This was supposed to be in the server-side forum, if an MS wouldn't mind moving it please... Although I'm not 100% sure that's where this belongs anyways...]


[This message has been edited by Lord_Fukutoku (edited 11-17-2003).]

Lord_Fukutoku
Paranoid (IV) Inmate

From: West Texas
Insane since: Jul 2002

posted posted 11-18-2003 04:56

Might've just found what I was looking for:

Accomplishing, in Java, the JavaScript "document.write()" function
Call JavaScript from a Java applet
Getting Java applets to talk to JavaScript
How Java to JavaScript communication works in Java Plug-in

In case anyone else is interested,
LF

« BackwardsOnwards »

Show Forum Drop Down Menu