Java Applet Writes to a Local File


Here's an applet that tries to write to a file on a local directory.

You must have a policy file to give this Applet (digital signed Applet) access to your local file system. This web page is part of a tutorial to demonstrate a Proof of Concept (prototype) of how a Java Applet can write to a local file. See the other pages for a full description.

Java Console: Open up the Java console. Messages are written there.

Using JavaScript with Java Plug-in: (works w/IE)

Using JavaScript with Java (no Plug-in)

Access System Properties from Java:

Important Parm's from HTML to the applet: