This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

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:
<table>
<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>
<logic:iterate>

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?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60048
    
  65

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to do a Pagination like "Page:1 2 3 4 5 6 " in a jsp?
 
Similar Threads
how to do a pagination like "Page: 1 2 3 4 5 6 7" in a jsp ?
Struts1: evaluating two conditions
nested logic:iterate
pagination problem
Pagination?