• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet AccessControlException

Khurram Zaman
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JDK1.4 anf using a scoket channel with selector to write data over the network. when I try to connect to a remote server (the same server from which applet was downloaded) following error occurs.
java.security.AccessCotrolException: acces denied (java.net.socketPermission connect,resolve)
Please let me know what could be the reason for this. thanx in advance.
Khurram Mahmood
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!