Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Giulietta Blumarine
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic