Mercurial > hg > digilib-old
diff client/digitallibrary/server/dlConfig.jsp @ 467:6a74da78f304
Servlet version 1.10b
- JAIDocuImage loads Flashpix
- server/dlConfig.jsp shows list of supported image formats
author | robcast |
---|---|
date | Mon, 13 Feb 2006 20:59:02 +0100 |
parents | 28f6030aa470 |
children | 5ff500d6812a |
line wrap: on
line diff
--- a/client/digitallibrary/server/dlConfig.jsp Mon Feb 13 20:57:18 2006 +0100 +++ b/client/digitallibrary/server/dlConfig.jsp Mon Feb 13 20:59:02 2006 +0100 @@ -133,19 +133,20 @@ </tr> </table> -<h2>ImageIO configuration</h2> +<h2>DocuImage configuration</h2> <p>Supported image types</p> <ul> <% - String[] formats = javax.imageio.ImageIO.getReaderFormatNames(); - for (int i = 0; i < formats.length; i++) { + java.util.Iterator dlfs = dlConfig.getDocuImageInstance().getSupportedFormats(); + for (Object f = dlfs.next(); dlfs.hasNext(); f = dlfs.next()) { %> - <li><%= formats[i] %></li> + <li><%= (String)f %></li> <% - } + } %> </ul> + </body> </html>