Meaningless Drivel is fun!*
The moose likes Applets and the fly likes AccessControlException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "AccessControlException" Watch "AccessControlException" New topic
Author

AccessControlException

Jeremy Hooie
Ranch Hand

Joined: Aug 22, 2001
Posts: 38
I have an Applet which runs fine in AppletViewer, but seems to hang up in a browser. I've already downloaded the Java Plug-In and used the HTML converter on the HTML file. Using the Java Console, I've found that there is an AccessControlException, specifically at java.net.SocketPermission %HOST% resolve where %HOST% is the name of my Web server. What causes this and how can I fix it?
Jeremy
[This message has been edited by Jeremy Hooie (edited August 29, 2001).]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15958
    
  19

An unsigned applet running in a browser is forbidden to talk to any server except the one it was loaded from. The AppletViewer has no such constraints.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AccessControlException
 
Similar Threads
ClassNotFoundException/AccessControlException
AccessControlException
AccessControlException
AccesscontrolException
java.security. AccessControlException