comparison 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
comparison
equal deleted inserted replaced
466:64cc0edac363 467:6a74da78f304
131 <td>Runtime.freeMemory</td><td><b><%= Runtime.getRuntime().freeMemory() %></b></td> 131 <td>Runtime.freeMemory</td><td><b><%= Runtime.getRuntime().freeMemory() %></b></td>
132 <td></td> 132 <td></td>
133 </tr> 133 </tr>
134 </table> 134 </table>
135 135
136 <h2>ImageIO configuration</h2> 136 <h2>DocuImage configuration</h2>
137 137
138 <p>Supported image types</p> 138 <p>Supported image types</p>
139 <ul> 139 <ul>
140 <% 140 <%
141 String[] formats = javax.imageio.ImageIO.getReaderFormatNames(); 141 java.util.Iterator dlfs = dlConfig.getDocuImageInstance().getSupportedFormats();
142 for (int i = 0; i < formats.length; i++) { 142 for (Object f = dlfs.next(); dlfs.hasNext(); f = dlfs.next()) {
143 %> 143 %>
144 <li><%= formats[i] %></li> 144 <li><%= (String)f %></li>
145 <% 145 <%
146 } 146 }
147 %> 147 %>
148 </ul> 148 </ul>
149 149
150
150 </body> 151 </body>
151 </html> 152 </html>