Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

applet-servlet communication  RSS feed

 
malvika Pandit
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone
I am writing a client-server program using Java applet-servlet repectively
I use URLConnection con = urlServlet.openConnection(); for the connection

My program works well on local host, however when I try on LAN ie on remote host it gives java.security.AccessControl Exception Socket Permission denied to 192.168.2.55(remote host) (connect, resolve)

I have changed the java.policy file socketpermission to listen,accept,connect,resolve
But this problem is still there.
What is the solution to this?
Please help.
Thanks
Malvika
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!