Permission « error « Java I/O Q&A





1. File Permission Error    coderanch.com

My applet needs to read information from a network file but this file must not remain open so first I copy it to a new file and then read that one. This works fine when I run it from JBuilder, but when I launch it from IE it gives me the error java.security.AccessControlException:access denied(java.io.FilePermission p:\... write). Im opening the source file ...

2. permission denied error while creating a file    coderanch.com

yup i am trying to create the file on the server itself , and i put an exception for file not found so i am getting the exception as file not found : file name , permission denied.. the second question is how do i mention the path where to create the file??? thanks a lot in advance