Hi All,
I have used table-tag to draw a table in my application using struts framework. I am displaying all the records in the table ,using an iterator . I want to refresh only this table after certain interval (as I have multiple tables in this particular JSP i just want one table to be refershed).
i.e., after refreshing the table the records must be present in the form, as I want to pass the form values to the next request.
The table code is as below.
<table>
<logic:iterate id="running" name="vehiclesRunning">
<tr>
<td width="16%"><bean:message key="asl.vehicleRegNo"/></td>
<td width="11%"><bean:message key="asl.date"/></td>
<?tr>
</logic:iterate>
</table>
I was able to refresh a textbox using Ajax, but unable to refresh a table content.
Can someone help me how to refresh a table either using Ajax/datagrid.
Thanks in Advance