1.c:forEach中设置varStatus属性
类型:String
描述:循环的状态信息
2. ${st.count}序号从1开始
${st.index}序号从0开始
3.eg
<c:forEach items="${fileList}" var="fileIn" varStatus="st">
<tr>
<td>${st.count}</td>
<td>${fileIn.id}</td>
<td>${fileIn.myFile }</td>
...
效果