title: Update  dynamic JSP content
body: <p>I have Web application. I use Struts2. And I have little JSP:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;%@ taglib prefix="s" uri="/struts-tags" %&gt;
  &lt;html&gt;
    &lt;body&gt;
      &lt;s:form action="updateForm"&gt;
        &lt;s:text name="news.page.main.label"/&gt;
        &lt;s:iterator status="stat" value="news"&gt;
          &lt;table&gt;
            &lt;tr&gt;
              &lt;td&gt;&lt;s:property value="title"/&gt;&lt;/td&gt;
              &lt;td&gt;&lt;s:property value="body"/&gt;&lt;/td&gt;
            &lt;/tr&gt;
          &lt;/table&gt;
        &lt;/s:iterator&gt;
      &lt;/s:form&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This page has table with news. For example I have 2 users that open this page and at some time one of them add new row. and I want page of second user update this page for example every 5 minutes. </p>
  
  <p>How can I do this with the help struts2 or JS? </p>
  
  <p>Please give some code for example.</p>