Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

applet-servlet communication

malvika Pandit

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 Exception Socket Permission denied to 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.
I agree. Here's the link:
subject: applet-servlet communication
It's not a secret anymore!