|
Is there a way to read a file directory
Best java friends
Is there a way to read a file directory in a specific folder inside the work directory form a applet . The following code does not work in an applet:
directory = new File(dirname);
if (directory.isDirectory() == false) {
if (directory.exists() == false)
…………
files = directory.list(); // stores the list of file names
willemjav
|