This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Struts and the fly likes pagination while using struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "pagination while using struts" Watch "pagination while using struts" New topic

pagination while using struts

brams mun

Joined: Nov 27, 2003
Posts: 25
hi all,

we are using struts framework for our multilingual application.
and we want to avoid scriptlets in our jsp, we just want them to be as simple htmls look...........
how can we implement the pagination (restricting the number of records per page, example like in reports if we have 40 records, by restricting 10 to one page........).
how can we implement this in struts framework........
any suggestions or sample code can be appreciated.
thanks in advance...........
N Nanda
Ranch Hand

Joined: Feb 09, 2004
Posts: 62
Well.. try to use display-tag. Its good and it provides a lot of features like generating automatic links, sorting a column etc. The link for this is . This site provides a good documentation with some good examples. Hope it'll help you.


Niranjan Nanda
I agree. Here's the link:
subject: pagination while using struts
It's not a secret anymore!