|
Spring Framework example source code file (owners.jsp)
The Spring Framework owners.jsp source code
<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>
<h2>Owners:
<table>
<tr>
<thead>
<th>Name
<th>Address
<th>City
<th>Telephone
<th>Pets
</thead>
</tr>
<c:forEach var="owner" items="${selections}">
<tr>
<td>
<a href="owner.do?ownerId=${owner.id}">${owner.firstName} ${owner.lastName}
</td>
<td>${owner.address} |
<td>${owner.city}
<td>${owner.telephone}
<td>
<c:forEach var="pet" items="${owner.pets}">
${pet.name}
</c:forEach>
</td>
</tr>
</c:forEach>
</table>
<%@ include file="/WEB-INF/jsp/footer.jsp" %>
| ... 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.