wood burning stoves*
The moose likes Struts 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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to do a pagination like "Page: 1 2 3 4 5 6 7"  in a jsp ?" Watch "how to do a pagination like "Page: 1 2 3 4 5 6 7"  in a jsp ?" New topic
Author

how to do a pagination like "Page: 1 2 3 4 5 6 7" 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to do a pagination like "Page: 1 2 3 4 5 6 7" in a jsp ?
 
Similar Threads
Struts1: evaluating two conditions
Pagination?
pagination problem
how to do a Pagination like "Page:1 2 3 4 5 6 " in a jsp?
nested logic:iterate