hi guys..new to jsp so need help..here is the code
CODE
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1>JSP Page</h1>
<%
System.out.println( "Evaluating date now" );
java.util.Date date = new java.util.Date();
System.out.println("Evaluation of system properties");
%>
Hello <%=date %>
properties<%=new System.getProperty();%>
<%--
This example uses JSTL, uncomment the taglib directive above.
To test, display the page like this: index.jsp?sayHello=true&name=Murphy
--%>
<%--
<c:if test="${param.sayHello}">
<!-- Let's welcome the user ${param.name} -->
Hello ${param.name}!
</c:if>
--%>
</body>
</html>
i need the output to display system properties such as java.version, java.home, OS.name, user.name, user.home, user.dir etc.
please help me..