Selected System Properties 2 : System Properties « JSP « Java

Selected System Properties 2

  Copyright (c) 2002 by Phil Hanna
  All rights reserved.
  You may study, use, modify, and distribute this
  software for any purpose provided that this
  copyright notice appears in all copies.
  This software is provided without warranty
  either expressed or implied.
<%@ page session="false" %>
<title>Selected System Properties</title>
<h1>Selected System Properties</h1>
<table border="1" cellpadding="3" cellspacing="0">
   final String[] propNames = {
   for (int i = 0; i < propNames.length; i++) {
      String name = propNames[i];
      String value = System.getProperty(name);
   <td align="left" valign="top"><%= name %></td>
   <td align="left" valign="top"><%= value %></td>
<% } %>


Related examples in the same category

1.Selected System Properties