struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jyothi Rajesh <>
Subject Re: Page refresh after AJAX Call
Date Thu, 01 Jul 2010 06:19:15 GMT

Here is how you can do it:

1) Have an independent JSP which will just include the grid using the
s:iterator tag.
2) The forward/result of the servlet/action given in the AJAX request should
be this JSP.
3) In the AJAX callback function, the above JSP will give the HTML to be
4) Use javascript innerHTML function to set the resulting HTML in a parent
div in the callback AJAX function.

Thanks and Regards,
On Thu, Jul 1, 2010 at 9:58 AM, Kushan Jayathilake <>wrote:

> Hi Guys,
> I have implemented basic AJAX functionality without incorporating third
> party frameworks,  and its working fine, AJAX functionality
> is doing the sorting thing of a grid, i have implemented the grid using
> <s:iterator>
> What i want to do is, refresh the entire grid, after the AJAX Call happens,
> so <s:iterator> will show the sorted data in the grid.
> Anyone suggest me how i can do this,
> --
> Regards
> Kushan Jayathilake

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message