JSP中排序问题(begin end step)

<c:forEach begin="1" end="9" step="1" var="sort">
	<c:choose>
		<c:when test="${area.areasort==sort}">
			<option value="${sort }" selected="selected">${
     sort }</option>
		</c:when>
		<c:otherwise>
			<option value="${sort }">${
     sort }</option>
		</c:otherwise>
	</c:choose>
</c:forEach>

你可能感兴趣的