s标签 <s:iterator value="student2" status="st" id="student2"> <s:property value="#student2.stuName" /> </s:iterator> 或%{}获取数据 c标签 <c:forEach items="${competition}" var="competition" varStatus="status"> <tr> <td> <input type="checkbox" name="student.competition.comId" id="comId" value="${competition.comId}"> </td> <td align="center"> ${status.index+1} </td> <td align="center"> <a href="">${competition.title} </a> </td> </tr> </c:forEach>