I am experiencing a little problem with Tomcat 6.0 and I haven't been able to determine the cause or solution. In a standalone Java application I can list the files from a remote directory like this:
File[] list = new File("//192.168.0.1/shared_dir").listFiles(); When I execute the same code in a servlet running on the same machine the call to listFiles() always returns null. Is this a security problem? I am not seeing any errors in the logs and I haven't changed any of the default security settings for Tomcat of Java. Since I don't know what the problem is I have had a hard time tracking down a solution online. Any idea why listFiles() doesn't work in a servlet? Thanks --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]