JSP Page to list Java System properties

<!-- jsp to list system properties and time -->
        int j=45;
        java.util.Properties props = java.lang.System.getProperties();
                <h1>Java System properties</h1>
                <table border="1">
                <td colspan="2"><center>
                <%= "Welcome Java Ver : " + java.lang.System.getProperty("os.version") %>
                <tr><th width="30%">Name</th><th width="70%">Value</th></tr>
                <td><%= new  java.util.Date() %></td>
                        java.util.Enumeration allProps = props.keys();
                        while (allProps.hasMoreElements()) {
                                String p = (String) allProps.nextElement();

jsp_system_properties.txt · Last modified: 2014/10/25 21:52 (external edit)
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0