△△もまいら漏れにStrutsの良さを教えてください
987 :
デフォルトの名無しさん:
<table>
<%
java.util.List list = (java.util.List)session.getAttribute("list");
java.util.Map map;
String[] week = {"sunday","monday","tuesday","wednesday","thursday","friday","saturday" };
for (int i = 0; i < list.size(); i++) {
map = (java.util.HashMap) list.get(i);
%>
<tr>
<th><%= i + 1 %>週</th>
<%
for (int j = 0; j < map.size(); j++) {
TestForm form = (TestForm) map.get(week[j]);
%>
<th><%= form.getDay() %></th>
<%
}
%>
</tr>
<%
}
%>
</table>
これをStrutsタグまたはjstlで書くとどうなりますか?