comparison client/digitallibrary/server/dlConfig.jsp @ 358:28f6030aa470

digilib status shows ImageIO's types of supported images
author robcast
date Tue, 06 Dec 2005 14:38:33 +0100
parents 84bfba8a1c9e
children 6a74da78f304
comparison
equal deleted inserted replaced
357:e03b4d7a7b46 358:28f6030aa470
30 30
31 <html> 31 <html>
32 <head> 32 <head>
33 <title>Digilib configuration page</title> 33 <title>Digilib configuration page</title>
34 </head> 34 </head>
35 <body>
35 36
36 <h1>Global servlet configuration</h1> 37 <h1>Global servlet configuration</h1>
37 38
38 <table> 39 <table>
39 <% 40 <%
130 <td>Runtime.freeMemory</td><td><b><%= Runtime.getRuntime().freeMemory() %></b></td> 131 <td>Runtime.freeMemory</td><td><b><%= Runtime.getRuntime().freeMemory() %></b></td>
131 <td></td> 132 <td></td>
132 </tr> 133 </tr>
133 </table> 134 </table>
134 135
136 <h2>ImageIO configuration</h2>
137
138 <p>Supported image types</p>
139 <ul>
140 <%
141 String[] formats = javax.imageio.ImageIO.getReaderFormatNames();
142 for (int i = 0; i < formats.length; i++) {
143 %>
144 <li><%= formats[i] %></li>
145 <%
146 }
147 %>
148 </ul>
149
135 </body> 150 </body>
136 </html> 151 </html>