|
Spring Framework example source code file (vets.jsp)
The Spring Framework vets.jsp source code
<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>
<h2>Veterinarians:
<table>
<tr>
<thead>
<th>Name
<th>Specialties
</thead>
</tr>
<c:forEach var="vet" items="${vetList}">
<tr>
<td>${vet.firstName} ${vet.lastName} |
<td>
<c:forEach var="specialty" items="${vet.specialties}">
${specialty.name}
</c:forEach>
<c:if test="${vet.nrOfSpecialties == 0}">none
</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.