Hi,
Change the following security settings of perporties, so that System
Properties work in j2ee.
In  J2ee_Home\lib\security\server.policy
search java.util.PropertyPermission at the end of page and update it
from : permission java.util.PropertyPermission  "*", "read";
To : permission java.util.PropertyPermission  "*", "write";

It will work.

Hamid Hassan
Software Engineer


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Shuja Nawaz
Sent: Tuesday, April 25, 2000 3:15 PM
To: [EMAIL PROTECTED]
Subject: j2ee problem at System.getProperties()


Hi.
I'm using four different servers. Three of them compile the following code
correctly but j2ee raises the following exception.

<%=java.lang.System.getProperties().toString() %>

Seek immediate help to solve the problem on j2ee also.
Thanks .
Form :
   Shuwaz.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to