auto update content ajax struts2 example

There may be a requirement to update some content in web application . I have done this in struts2 and ajax (dojo plugin). I have try many websites but found example that not worked then i have spent time to do this and the following example develops.

Versions that i have use:
Struts2 2.2.3
struts2-dojo-plugin-2.1.8.1.jar

—one.jsp—

—struts.xml—

—Update.java—

  • can u please give me clear example for this

    • Hi Rajesh,
      Thanx for your comment. Please let me know what is not clear in this example?