This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Applets and the fly likes applet error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "applet error " Watch "applet error " New topic

applet error

praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
Hello all,
I am getting the following error when I am executing an applet to connect to a server via a socket. access denied ( connect,resolve)

Kindly help me in this
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
If the server the applet is trying to connect to is not the same as the one where the applet was served from, then that is not allowed by the applet security restrictions. See HowCanAnAppletReadFilesOnTheLocalFileSystem for information regarding the two ways around this.
wood burning stoves
subject: applet error
It's not a secret anymore!