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 permissions to access the target folders
Good luck! Best regardz, Victor *** "Anyone who uses the phrase 'easy as taking candy from a baby' has never tried taking candy from a baby" -R. Hood >> 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 program but not from a JSP. >> Even from a JSP if I start Tomcat from command prompt using >> startup.bat it works fine but not when I start it as a service. >> >> Any ideas? >> >> Thanks >> >> Dheeraj >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]