Friday, October 3, 2008

Use of logic:iterate within table

Here is the example of the iteration array list element which placed in the arraylist in request scope which is represented in the table format.
<table>

<logic:present name="names">
<logic:iterate id="id" name="names" indexId="ctr">
<TR>
<TD >
<bean:write name="id" property="rollNumber" /></TD>
<TD>
<bean:write name="id" property="studentName" />
</TD>
</tr>
</logic:iterate>
</logic:present>
</table>

No comments: