Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to step backwards in JSTL?

649509Aug 20 2010 — edited Aug 23 2010
Hi,

I'm using JSTL 1.2 with Tomcat 6.0.26. I want to loop through the current year to 2005, but I discovered that JSTL does not allow step values <=0 in c:forEach tags. Can anyone suggest an alternative that doesn't involve scriptlets?

Thanks, - Dave
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2010
Added on Aug 20 2010
4 comments
851 views