Hi,
I am Ujjwal B Soni. I have problem in my website. The problem is that, i am able to display the contents of the database correctly on my
jsp page using the logic:iterate tah but the problem i am facing is that when i refresh my jsp page. The page displays multiple records. Please help me
The code is as under
(jsp page)
<table width="650">
<logic:iterate id="cl" name="completeList">
<tr>
<td><font color="blue" size="10"><bean:write name="cl" property="subject"/></font><br><br>
<b><h2 class="title"><font color="black" size="3"><bean:write name="cl" property="content"/></font></h2></b>
</td>
<td> </td>
</tr>
<tr>
<td><h3 class="title"><font color="silver">Posted By <bean:write name="cl" property="name"/> On <bean:write name="cl" property="date"/></font></h3></td>
<td> </td>
<td><font color="silver"><bean:write name="cl" property="email"/></font></td>
<td> </td>
<td><a href="">Comments</a></td>
</tr>
</logic:iterate>
</table>
Cheers,
Ujjwal B Soni
(+919898954428)