JSTL1.1, Tomcat 5.0.27 - EL printed as template text

R

Rico

<c:set var="i" value="0"/>
<c:forEach items="items" var="currentItem">
<tr>
<td><font .... ><c:eek:ut value="${i+1}" /></font></td>
<td><font .... ><c:eek:ut value="${currentItem.id}"/></font></td>
<td><font .... ><c:eek:ut 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 <c:eek:ut ... > 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top