Hello, I', using struts framework and displaytag 1.0, all works great.

Now, I want to implement pagination using the the partial list (External
Paging and Sorting) for displaying records (display tag 1.1 facility).
I have this doubt:

 - For pagination we will be providing display tag only the records
 that required to be displayed from the full list i.e. if there are 500
 records from backend populated in full list, we will be creating a partial
 list of desired records (say 50) from full list and then feeding this
 partial list to display tag ?
 - Or we will be querying backend only for the desired 50 records ? And
 if so how we take care for sorting, page number etc. ?

Can someone share there experience for implementing partial list in display
tags?

Can someone give me some example code (what to put in the JSP, the action,
dao, etc)

Thanks!!!

Reply via email to