######controller层相关代码:
List<PsAcctDeps> psAcctDeps = this.psAcctDepsService.getByParam(paramMap);//[com.bank.perf.perfps.entity.PsAcctDeps@247039, com.bank.perf.perfps.entity.PsAcctDeps@5843ae41]
model.put("psAcctDeps",psAcctDeps);
jsp页面的forEach
<table><tr>
<td class="showContentAttrName">客户号:</td>
<td>
<%-- 方法1:这个报Property "0" not found on type ...错误 --%>
<c:forEach var="obj" items="${psAcctDeps}" varStatus="status">
${obj[status.index].custNo}
</c:forEach>
</td>
<%-- <td>${psAcctDeps.custNo}</td> 方法2:这个报For input string: "custNo"错误 --%>
</tr></table>