File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 %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: 17410

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: AccessControlException
It's not a secret anymore!