Struts2- Pagination with Ajax

Hi,
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.

Thanks
shetty01Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Gurvinder Pal SinghConnect With a Mentor Commented:
for first link you need to go to the download tab
http://code.google.com/p/displaytagajaxed/downloads/list

second one is a jquery solution with display tags and ajax, please read carefully
0
 
Gurvinder Pal SinghCommented:
check this google solution, it has a demo page
http://code.google.com/p/displaytagajaxed/

here is one solution using displaytags with ajax and jquery
http://kevin.mudrick.com/2009/11/23/ajax-loading-sorting-and-paginating-of-displaytag-tables/
0
 
shetty01Author Commented:
I dont see src code in the first link. I downloaded zip file but no source code and plus it is using displayTag1.1.1.
In second url I see the javascript part, but not sure what he is doing. Their is no full source code their.
0
 
shetty01Author Commented:
first one i downloaded the zip file from download tab, and when i unzipped their is nothing in src folder.

second link i dont see full source code. so dont know what jar i need etc.

0
All Courses

From novice to tech pro — start learning today.