...

View Full Version : Java security error with Netscape



Andrei Todor
08-21-2002, 05:46 PM
I use JSP and I get this error when trying to load an applet in Netscape:

java.security.AccessControlException: access denied (java.io.FilePermission C:\Temp\OT_181_1_0.jpg read)

at java.security.AccessControlContext.checkPermission(Unknown Source)

at java.security.AccessController.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkRead(Unknown Source)

at java.io.FileInputStream.<init>(Unknown Source)

at ImageRetriever.getImage(Retriever.java:505)

at ImageRetriever.run(Retriever.java:436)


The same code works fine with Internet Explorer. Does anyone know what the problem is and how it could be solved?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum