Hi,
I found out that, in the IE
java console, the following lines of code in my
applet was'nt able to create a directory in the first place.
(1)File directory= new File(/D:/Sylvester/IndexSearch);
(2)System.out.println("Directory filename:"+directory.getName());
(3)File[] filesInDir=directory.listFiles();
(4)for(File f: filesInDir){
(5)System.out.println(f.getName());}
(1) does not run in InternetExplorer v6.0. The java console shows an exception as follows:
access denied (java.io.FilePermission D:\Sylvester\IndexSearch read)
IndexSearch is the name of the directory where my files reside. My program displays the appropriate file based on the file name.
the above process was run in Internet Explorer v6.0
The program worked in Applet viewer. I wrote a few debugging statements as shown above ((2) and (5)) and everything worked well in applet viewer, although it does'nt allow showDocument(), which I used later in the program to work.
I hope the problem has been clearly specified. Do you think that Internet Explorer is causing me problems? This same program worked in IE a few days ago when I was initially running the program. I did not change any permissions for files. They are all readable.
[ April 20, 2006: Message edited by: Allen Sylvester ]