Hey!
Fix your Date its set at year 2000 instead of 2001
Sans adieu,
Danny Rubis
Shuja Nawaz wrote:
> 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
___________________________________________________________________________
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