Skip to content

Instantly share code, notes, and snippets.

@rohman
Created April 9, 2013 23:32
Show Gist options
  • Save rohman/5350331 to your computer and use it in GitHub Desktop.
Save rohman/5350331 to your computer and use it in GitHub Desktop.
Ulang Spring Mvc
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>List Tamu</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<h1>List Tamu</h1>
<a href="form">Tambah Data</a>
<table border="1">
<thead>
<tr>
<th>Nama</th>
<th>Alamat</th>
<th>Email</th>
<th>Action</th>
</tr>
</thead>
<tbody>
#foreach($tamu in $tamuList)
<tr>
<td>$tamu.name</td>
<td>$tamu.address</td>
<td>$tamu.email</td>
<td>
<a href="view?id=$tamu.id">View</a>
</td>
</tr>
#end
</tbody>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment