ループが実行されてデータテーブルにデータが入力された後、列の合計を計算して最後の行に表示したいと思います。
これはテーブルにデータを入力するための私のコードです...最後の行を作成する必要があります:
<table class="data_table">
<tr>
<th>Source Of Issues</th>
<th>First Issues</th>
<th>second Issues</th>
<th>Changes</th>
</tr>
<c:forEach var="bean" items="${beans}" varStatus="loopCount">
<tr>
<td><a href="foobar">${bean.sorCode}</a></td>
<td class="right"><fmt:formatNumber value='${bean.firstissue}'
type="currency" groupingUsed='true' /></td>
<td class="right"><fmt:formatNumber value='${bean.secondissue}'
type="currency" groupingUsed='true' /></td>
<td class="right"><fmt:formatNumber value='${bean.changes}'
type="currency" groupingUsed='true' /></td>
</tr>
</c:forEach>
</table>