I have a Java application running on JBoss on Windows. I am trying to access files on a network drive. Based on earlier reponses I tried accessing it as
File f = new File("\\computername\folder\filename.pdf");
I can access this file from the Windows "Run" console, but when I try to access it from the browser through my application it says, "<URL path> (Access Denied)"
When the application is running on the same system as where I can invoke the file from "Run" menu command, why can't the application access it? Any ideas?