R
Rico
<c:set var="i" value="0"/>
<c:forEach items="items" var="currentItem">
<tr>
<td><font .... ><cut value="${i+1}" /></font></td>
<td><font .... ><cut value="${currentItem.id}"/></font></td>
<td><font .... ><cut value="${currentItem.description}"/></font></td>
</tr>
<c:set var="i" value="${i+1}"/>
</c:forEach>
==========================================================================
At last I've got an installation of Tomcat 5.0 running.
For the above piece of JSP, the 3 lines of <cut ... > are being
displayed literally as '${i+1}' instead of the expected value, i.e 1.
Same goes for '${currentItem.id}' and '${currentItem.description}'
Anyone's got an idea why this is so? Thanks.
Best regards,
Rico.
<c:forEach items="items" var="currentItem">
<tr>
<td><font .... ><cut value="${i+1}" /></font></td>
<td><font .... ><cut value="${currentItem.id}"/></font></td>
<td><font .... ><cut value="${currentItem.description}"/></font></td>
</tr>
<c:set var="i" value="${i+1}"/>
</c:forEach>
==========================================================================
At last I've got an installation of Tomcat 5.0 running.
For the above piece of JSP, the 3 lines of <cut ... > are being
displayed literally as '${i+1}' instead of the expected value, i.e 1.
Same goes for '${currentItem.id}' and '${currentItem.description}'
Anyone's got an idea why this is so? Thanks.
Best regards,
Rico.