Thanks for the link Nishan.
I have been working to get that done using the Dipslay tag framework but i am confused how to use it with Struts 2.
i am using
<display:table id="data" name="arraylist" requestURI="Search.action" pagesize="10" >
<display:column property="account" title="Account ID" sortable="true" />
<display:column property="fName" title="First Name" sortable="true" />
<display:column property="lName" title="Last Name" sortable="true" />
</display:table>
I will get arraylist from session attribute. Arraylist has number of Person beans based on the resultset size.
I will store all the person beans into this arraylist and set in a session attribute which i retrieve in this
jsp and display.
My person bean just has 3 fields account, fName and lName with getter and setter methods ().
I have even tried this without using requestURI="Search.action" in the display tag, it didn't work either.
Like i said, i am using Struts 2, so i am confused to work on this pagination issue.
If you need any additional information i can try to explain in detail, but i hope this would have given you a rough picture of my situation.
Thanks,
Pawan