<%@ page language="java" pageEncoding="MS932" %>
<%@page contentType="text/html; charset=Shift_JIS" %>

<%@ taglib uri="/WEB-INF/weber-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/weber-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/weber-html.tld" prefix="html" %>

<!-- ボディ -->
<html><head><title>成績一覧</title></head>
<body>
    ログインユーザ：<bean:write name="org.itscool.
weber.action.USER" property="name" scope="session"/><p>

<form method ="POST" action="delete.do">
    <table border="0" cellpadding="1" width=350><tr>
    <td bgcolor="skyblue">
        <table border=0 cellspacing=1 cellpadding=1 width="100%">
            <tr bgcolor="eeffff">
                <TD>選択</TD><TD>学年</TD><TD>クラス</TD><TD>学生ID</TD><TD>名前</TD><TD>成績</TD>
            </tr>
            
            <logic:iterate id="ask" name="messages" scope="session">
            <tr bgcolor="eeffff">
                    <TD><input type="checkbox" name="id" value="${ask.id}"/></TD>
                    <TD>${ask.clazzYear}</TD>
                    <TD>${ask.clazz}</TD>
                    <TD>${ask.id}</TD>
                    <TD>${ask.name}</TD>
                    <TD>${ask.score}</TD>
            </tr>
            </logic:iterate> 
        </table>
    </td>
    </tr></table>
    <input type="submit" name="submit" value="削除"><br>
    <a href="./jsp/show-input.do">問合せ入力</a><br>
</form>
</body>
</html>
