commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Libor Tvrdik" <ltvr...@trask.cz>
Subject Table of System.properties
Date Sat, 11 Dec 2004 13:16:44 GMT
Hello,

First: I'm sorry. My english it's very bad.

And now my problem:

Some time I need information about JVM (used Tomcat, for 
example solve parallel Java instalation on computer, ...). I 
use very simple code in ROOT/index.jsp:
--------------------------
<table  border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
  <tr>
    <th colspan="2">Java Properties</th>
  </tr>
  <%
      java.util.Properties properties = System.getProperties();
      java.util.Enumeration properKeys = proper.keys();
      while( properKeys.hasMoreElements() )
      {
        String elem = (String)properKeys.nextElement(); %>
        <tr>
          <td><%=elem%></td>
          <td><%=properties.get(elem)%></td>
        </tr><%
      }
   %>
</table>
--------------------------
But it's tiresome copy this code after each upgrade. Table 
present very important information.
Can you change perhaps ADMINISTRATION tool (/admin) so that 
displayed similar table (I think about Tomcat Server page)?

I can write code for ADMINISTRATION tool (/admin) if we need.

Best regards,
Libor Tvrdik
-- 
Senior Analyst Programmer
--------------------------
Trask solutions s.r.o.
www.trask.cz
www.edoceo.cz

Tel: (+420) 220 414 111
Fax: (+420) 220 414 127
GSM: (+420) 602 738 617

Podbabsk√° 20
160 46 Praha 6

Czech Republic
--------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message