ReadaFile

M. Gallant 03/27/2002

This simple applet for JavaPlugin 1.3+ allows simple display of text files as selected by the user. The html was converted with the htmlConverter utility version 1.3.

To allow this unsigned java applet to run from this server, your local default .java.policy file should be set to enable some privileges to allow file reading. For example, to allow this applet deployed form this server (or in fact ANY Java2 applet from anywhere) to read any file in the testfolder directory on your win32 computer, you could add this grant entry to your policy file:


   grant {
     permission java.io.FilePermission "C:\\testfolder\\*", "read";
   };

ReadaFile.java source