wood burning stoves
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 Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "AccessControlException" Watch "AccessControlException" New topic


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?
[This message has been edited by Jeremy Hooie (edited August 29, 2001).]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16757

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