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!

<c:forEach get next row within current row

843838Oct 11 2005 — edited Nov 10 2005
Hey, I am not familiar with jstl and here is the question that I have.

I need to have the following:

<c:forEach var="row" items="${rs.rows}">
here i need to have rs.rows+1 (next row)
</c:forEach>

Basically, I need to have next row of current row in forEach tag.

How can I do that?

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2005
Added on Oct 11 2005
18 comments
854 views