|
Spring Framework example source code file (imageList.jsp)
The Spring Framework imageList.jsp source code
<%@ page session="false" %>
<%@ page import="java.util.List,
java.util.Iterator,
org.springframework.samples.imagedb.ImageDescriptor" %>
<!-- imageList.jsp -->
<html>
<body>
<%
List images = (List) request.getAttribute("images");
for (Iterator it = images.iterator(); it.hasNext();) {
ImageDescriptor image = (ImageDescriptor) it.next();
%>
<table border="1" cellspacing="0" cellpadding="5">
<tr> | Description (<%= image.getDescriptionLength() %>) | <%= image.getShortDescription() %> | </table> <p> <% } %> <p> <table border="1" cellspacing="0" cellpadding="5"> <form action="imageUpload" method="post" encType="multipart/form-data"> <tr>Name | Content | Description | <tr> | </form> </table> <p>Clear database </body> </html> |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.