|
> Hi, I have a applet as a presentation, a servlet as a controller and a
datasource.
> I get an exception which says "java.security.AccessControlException:
access > denied ( java.net.SocketPermission 127.0.0.1:8080 connect,resolve)"
when
> URLConnection.getOutputStream() is invoked. I use ViusalAge Jave
as IDE.
> Any helps, I appreciate it.
Hi!
May be this exception caught because your access request to servlet is
not allowed according to the security policy. By default applet cat get net
connections only with URL from it was loaded. You can change this rule in
$JAVA_HOME/jre/lib/security/java.policy |
- applet to servlet communication problem Qingyi Gu
- WML variable to java servler variable Dmitrij Trunikov
- WML variable to java servler variable andrew tollin
