You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Caroline Jen <ji...@yahoo.com> on 2004/07/06 17:38:38 UTC
JSTL Has "Paging" Built-In?
I was told that JSTL has "paging" built in. Could
someboday who has used this feature provide
instructions? Is there a document that illustrate the
steps of using it?
Paging means: [ previous page | 1 2 3 4 ... | next
page ]
I have tried one of the paging taglib; but, it does
not accept JSTL tags.
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: JSTL Has "Paging" Built-In?
Posted by Duncan Mills <du...@oracle.com>.
The <c:forEach> tag has the ability to use variable values for the
start, end and step values of the loop, so you can use that to display
say 10 rows of a collection at a time.
start and end can be defined with expressions
Regards
Duncan Mills
Caroline Jen wrote:
>I was told that JSTL has "paging" built in. Could
>someboday who has used this feature provide
>instructions? Is there a document that illustrate the
>steps of using it?
>
>Paging means: [ previous page | 1 2 3 4 ... | next
>page ]
>
>I have tried one of the paging taglib; but, it does
>not accept JSTL tags.
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Mail - You care about security. So do we.
>http://promotions.yahoo.com/new_mail
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org