This is a simple question, but is there any way to count *backwards* in JSTL?
Using the forEach tag, if begin=10 and end=0, I get an: 'end' < 0 error
I've also tried using step="-1" to no avail.
Basically, I want to create a year pulldown box which starts at the
currentyear and then displays the previous twenty years.
<c:forEach begin="${currentYear}" end="${currentYear-20}" step="-1"
var="year"> <option> <c:out value="${year}"/></option> </c:forEach>
- Nic
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]