B
BADBOY
Hi i am trying to write a simple login applet for a website.(am very new to
applet-servlet programming)
After a little struggle i managed to get my applet to post to servlet, but
get the following exception:
java.security.AccessControlException: access denied
(java.util.PropertyPermission http.strictPostRedirect read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at java.lang.Boolean.getBoolean(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.followRedirect(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at LoginApplet.LoginApplet.doLogin(LoginApplet.java:222)
at first i thought it might be because my applet wasnt signed, so i changed
all the security settings in Iexplorer so an unsigned applet was allowed
todo anything.
This hasnt made any difference.....I`m now at a loss.
My only incling is that it might be related to those (Unkown Source) bits.
Dont suppose someone could point me in the right direction
Many Thanx in advance
Jonney.
applet-servlet programming)
After a little struggle i managed to get my applet to post to servlet, but
get the following exception:
java.security.AccessControlException: access denied
(java.util.PropertyPermission http.strictPostRedirect read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at java.lang.Boolean.getBoolean(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.followRedirect(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at LoginApplet.LoginApplet.doLogin(LoginApplet.java:222)
at first i thought it might be because my applet wasnt signed, so i changed
all the security settings in Iexplorer so an unsigned applet was allowed
todo anything.
This hasnt made any difference.....I`m now at a loss.
My only incling is that it might be related to those (Unkown Source) bits.
Dont suppose someone could point me in the right direction
Many Thanx in advance
Jonney.