• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pagination while using struts

 
brams mun
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic