My applet lies in c:\applets and I accesss it from the browser as http://myhost/applet/appletname.
My file lies in c:\jsdk2.0\bin and its URL is http://myhost/category/category.txt .
My problem is when I try to access the file from the applet ,I get the error -Access to file is not permitted.
I have given permissions to my file with FilePermission in a servlet.This servlet has actually created this file & then given the permission.This servlet then calls the applet that needs to access the file