<%@page contentType="text/html"%>

<%@page import="java.lang.System"%>
<%@page import="java.lang.String"%>
<%@page import="java.util.Properties"%>
<%@page import="java.util.Enumeration"%>
<%
Properties sysProps = System.getProperties();
%>
<html>
<head>
<body>
<H1>System Properties</H1>
<p>
<table border=1>
  <tr bgcolor="c0c0c0">
     <td>Key</td>
     <td>Value</td>
  </tr>
  <%
     for (Enumeration enumProps = sysProps.propertyNames(); enumProps.hasMoreElements() ;) {
         String key = (String) enumProps.nextElement(); 
  %>
  <tr>
     <td><%=key%></td>
     <td><%=(String) sysProps.get(key)%></td>
  </tr>
<%}%>

</table>
<P>
</body>
</html>