<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="css/dwstyles.css"/>
<title>Spring 2 Customer Data from hsqldb via JPA</title>
</head>
<body>
<h1>Spring 2 JPA Customer List</h1>
<br>
<table>
<tr>
<th>Customer number</th>
<th>Name</th>
</tr>
<c:forEach var="cust" items="${customers}">
<tr>
<td><a href="custdet.htm?custID=${cust.custid}">${cust.custid}</td>
<td>${cust.firstName} ${cust.lastName}</td>
</tr>
</c:forEach>
</table>
</body>
</html>