Subject: How to read files on a network drive from a JSP
> Hi,
>
> I have to list the files on a particular folder on a network drive. My
> code is:
>
> File f = new File("host_ip_address\\folder1\\folder2");
> File files[] = f.listFiles();
> System.ou
Hi Dheeraj,
- Create a new local user, call it "TOMCAT" for example.
- Set some password for it
- Run your tomcat service under this user's credentials
- create the local user with exactly same name and password on the other
machine you're trying to
access
- make sure that local user has permissi
> Hi,
>
> I have to list the files on a particular folder on a network drive. My
> code is:
>
> File f = new File("host_ip_address\\folder1\\folder2");
> File files[] = f.listFiles();
> System.out.println("===>>>Files are: " + files);
>
> The same code works from a standlone java pr