1、迭代显示表格
<%@ page isELIgnored="false"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<display:table uid="app" id="app" name="app"
class="dpTable" cellpadding="0" cellspacing="1" export="false">
<display:column title="分公司">
<c:forEach items="${listArea}" var="a">
<c:if test="${app.areaNo eq a.nodeNo}">${a.nodeName}</c:if>
</c:forEach>
<c:choose>
<c:when test="${app.areaNo eq 'HQ' }">总计</c:when>
</c:choose>
</display:column>
<display:column title="正常还款率/风险系数">
<fmt:formatNumber value="${app.overdueRate_A}" type="percent" pattern="0.00%"></fmt:formatNumber>
/<fmt:formatNumber value="${app.ARiskRate}" type="number"></fmt:formatNumber>
</display:column>
</display:table>
//
<c:choose>
<c:when test="${message eq '0001'}">
<tr>
<td>
</td>
</tr>
</c:when>
<c:otherwise>
<tr>
<td></td>
</c:otherwise>
</c:choose>