<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/lib/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/lib/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/lib/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/lib/c.tld" prefix="c" %>
<html:html>
  <head>
    <title>Sample</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="content-style-type" content="text/css" />
  </head>
  <body>
    <br />
    <form method="post" action="/sample">
      <c:forEach var="sample" items="${sampleList}">
        ID   :<c:out value="${sample.id}"/><br />
        Name ：<c:out value="${sample.name}"/><br />
        Age  ：<c:out value="${sample.age}"/><br />
        <br />
      </c:forEach>
      <input type="text" name="name" value="${sampleForm.name}" />
      <input type="text" name="name" value="${sampleForm.age}" />
      <input type="submit" value="検索" />
    </form>
  </body>
</html:html>