aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "pagination while using struts" Watch "pagination while using struts" New topic
Author

pagination while using struts

brams mun
Greenhorn

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 http://displaytag.sourceforge.net . This site provides a good documentation with some good examples. Hope it'll help you.

Regards,

Niranjan Nanda
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pagination while using struts