<br> {for list in lists} <br> <tr></tr> && request.getSelectedAccount().accountNo == list.accountNo}mainTr_S{else}mainTr{/if}' <br> onclick='javascript: if (this.className == "mainTr_S") return; <br> if (!request.selectAccount("${list.accountNo}")) return; <br> switchAccountTab($("accountBizTab")); <br> try { getElementsByClassName("mainTr_S", "accountsTable")[0].className = "mainTr" } <br> catch (e) {} <br> this.className = "mainTr_S"' <br> oncontextmenu="return showContextMenu(event, 2, '${list.accountNo}')"> <br> <td>${list.feeBookNo}</td> <br> <td> ${list.accountStateNm}</td> <br> <br> {/for} <br> jsp页面中用{for}这,搞的我有点晕,有人出来解释下吗,这到底是什么 <br> <h2>回复讨论(解决方案)</h2> <p class="sougouAnswer"> 不就是循环lists里边的数据来显示嘛。 </p> <p class="sougouAnswer"> 可是java中没有这么写的啊,标签不像标签。for循环也不是这么写的啊,你看清楚啊 <br> </p>