<logic:iterate id="element" name="RsBean" property="page" indexId="index">
<bean:write name="index"/> <!--默认从0开始编号-->
</logic:iterate>
<logic:iterate id="element" name="RsBean" property="page" indexId="index">
<%=Integer.parseInt(index.toString())+1%> <!--从1开始编号-->
</logic:iterate>
<bean:write name="index"/> <!--默认从0开始编号-->
</logic:iterate>
<logic:iterate id="element" name="RsBean" property="page" indexId="index">
<%=Integer.parseInt(index.toString())+1%> <!--从1开始编号-->
</logic:iterate>
或
<logic:iterate id="element" name="RsBean" property="page" indexId="index">
<%=index.intValue()+1%> <!--从1开始编号-->
</logic:iterate>
<%=index.intValue()+1%> <!--从1开始编号-->
</logic:iterate>