aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes applet-servlet communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "applet-servlet communication" Watch "applet-servlet communication" New topic
Author

applet-servlet communication

malvika Pandit
Greenhorn

Joined: Nov 17, 2008
Posts: 2
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: applet-servlet communication