因为jsp使用需要自动生成序号,原来有个标签 varStatus 可以显示出当前下标,然后再写就简单了 见代码 < c:forEach items="${fnc:getApplyList(ebApply.apNumber)}" var="Apply" varStatus="status"> </ c:forEach> 因为index第一个下标是0 所以给他加1 齐活~~~~~~ ${status.index + 1} ${status.index + 1}