Struts2- Pagination with Ajax
Posted on 2010-08-31
We are using Struts2. And we want to do pagination with ajax. for example if user enters something on top jsp. we want to load bottom jsp using ajax. And the bottom jsp should have pagination. I can do this by using displayTags. But when I click next page in bottom jsp, it relaods the page. So how do I implement ajax on DisplayTags so I does not reload. I saw ajaxTags but not finding much information on how to implement it. Is their any other api besides displayTag that has pagination with ajax, if so please provide sample code for struts.