Skip to content

Commit

Permalink
Complete List Customer feature
Browse files Browse the repository at this point in the history
  • Loading branch information
youhubs committed Jul 29, 2020
1 parent 8045def commit 9ebdd45
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions WebContent/WEB-INF/views/index.jsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%@ 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"%>
<!DOCTYPE html>
<html>
<head>
Expand All @@ -15,6 +16,23 @@
<h3>
<a href="/new">New Customer</a>
</h3>
<table border="1">
<tr>
<th>ID</th>
<th>Name</th>
<th>Email</th>
<th>Address</th>
<th>Action</th>
</tr>
<c:forEach items="${customers}" var="customer">
<tr>
<td>${customer.id}</td>
<td>${customer.name}</td>
<td>${customer.email}</td>
<td>${customer.address}</td>
</tr>
</c:forEach>
</table>
</div>
</body>
</html>

0 comments on commit 9ebdd45

Please sign in to comment.