Bookmark Topic Watch Topic
  • New Topic

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

 
Giulietta Blumarine
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
    Bookmark Topic Watch Topic
  • New Topic