changeset 358:28f6030aa470

digilib status shows ImageIO's types of supported images
author robcast
date Tue, 06 Dec 2005 14:38:33 +0100
parents e03b4d7a7b46
children c278ebaabc45
files client/digitallibrary/server/dlConfig.jsp
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/server/dlConfig.jsp	Tue Dec 06 14:36:31 2005 +0100
+++ b/client/digitallibrary/server/dlConfig.jsp	Tue Dec 06 14:38:33 2005 +0100
@@ -32,6 +32,7 @@
 <head>
 <title>Digilib configuration page</title>
 </head>
+<body>
 
 <h1>Global servlet configuration</h1>
 
@@ -132,5 +133,19 @@
   </tr>
 </table>
 
+<h2>ImageIO configuration</h2>
+
+<p>Supported image types</p>
+<ul>
+<% 
+	String[] formats = javax.imageio.ImageIO.getReaderFormatNames();
+	for (int i = 0; i < formats.length; i++) {
+%>
+	<li><%= formats[i] %></li>
+<% 
+	}
+%>
+</ul>
+
 </body>
 </html>