File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes applet security exception in weblogic 11g at urlCon.getInputStream() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "applet security exception in weblogic 11g at urlCon.getInputStream()" Watch "applet security exception in weblogic 11g at urlCon.getInputStream()" New topic
Author

applet security exception in weblogic 11g at urlCon.getInputStream()

Sriram Venkatesan P
Greenhorn

Joined: Aug 16, 2006
Posts: 5

Environment : Weblogic 11g JDk1.6




Applet making URLConnection getting below exception at line
in = new BufferedReader(new InputStreamReader(urlCon.getInputStream()));


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 PasswordPrintApplet.getPassword(PasswordPrintApplet.java:151)
at PasswordPrintApplet.init(PasswordPrintApplet.java:53)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Thanks and Regards,<br />Sriram
 
 
subject: applet security exception in weblogic 11g at urlCon.getInputStream()
 
Similar Threads
APPLET TO ASP COMMUNICATION
One Simple Query ??
how to go to last line of a file and skipping the rest?
to read lines inside brackets
Reading one line from a text