Mercurial > hg > digilib-old
changeset 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 | 64cc0edac363 |
children | 0fc853d98820 |
files | client/digitallibrary/WEB-INF/lib/DigilibServlet.jar client/digitallibrary/server/dlConfig.jsp |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
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>