Hello,
I've been try to write a simple
Applet /
Servlet combo that can communicate with each other and I've hit a problem. When, from the Applet, I open a URLConnection to the Servlet running on
tomcat, all seems to go well. However, when I go the further step to try to get an inputstream from the connection, I get the following error:
java.security.AccessControlException:
access denied(java.net.SocketPermission localhost resolve)
I'm wondering what is really going on here. Is the problem that I'm viewing the Applet page as a localhost? Do I need to change the configuration of tomcat?
Any help or advice would really be appreciated.