我有要求,需要表格内的表格行,不包括可滚动的头行。我已经尝试如下,但这并没有给出预期的结果:
<table id="applicantList1" border="1" align="left">
<tr><td align="center" colspan="4"><b>Select one record from the below list for proceeding further </b></td></tr>
<tr><th>View</th><th>Name</th><th>Address</th><th>Pan No</th></tr>
<c:forEach items="${applicantList}" var = "applicantList">
<div id="applicantList2" align="center" style="height:1px;width: 10px">
<tr>
<td>${applicantList[0]}</td>
<td>${applicantList[1]}</td>
<td>${applicantList[2]},${applicantList[3]},${applicantList[4]},${applicantList[5]},${applicantList[6]},${applicantList[7]}</td>
<td>${applicantList[8]}</td>
</tr>
</div>
</c:forEach>
</table>
如果有人有想法,请与我分享。