Hi all.
I'm using System.getProperties().toString(); while doing so directly
from jsp page its ok.
But when I use it inside a java bean on j2ee server following exception is
thrown.
Plz suggest me a solution.
Thank you in anticipation.
java.security.AccessControlException: access denied
(java.util.PropertyPermission * read,write)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at
java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1246)
at java.lang.System.getProperties(System.java:488)
at com.cms.vsdi.myClass.m2(myClass.java:17)
From:
Shuja Nawaz.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html