This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes how to do a Pagination like Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

how to do a Pagination like "Page:1 2 3 4 5 6 " in a jsp?

Giulietta Blumarine
Ranch Hand

Joined: Dec 03, 2004
Posts: 59
I have the following code in struts:
<logic:iterate id="PaginationDTO" name=list">
<tr><td><bean:write name="PaginationDTO" property="name"/></td></tr>
<tr>><td><bean:write name="PaginationDTO" property="surname"/></td></tr>

This code shows a table with as many record as the DTO in the collection.

I have to do the pagination.

How Can I do?
Has somebody an example?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: how to do a Pagination like "Page:1 2 3 4 5 6 " in a jsp?
It's not a secret anymore!