This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
java.security.AccessControl Exception
Database Connectivity
Sending E-Mail through an Applet
Connecting to a remote servlet from an unsigned applet
problems naming a host parameter