EL not working in forEach
I am using a forEach to iterate through an array. The EL of the forEach var is not working.
Here is a code snippet:
<c:forEach var="param" items="${branchSettings.parameters}">
<tr>
<td>${param.category}</td>
<td>${param.name}</td>
<td>${param.value}</td>
</tr>
</c:forEach>
When I change it to this it works but I really want to use EL.
<c:forEach var="param" items="${branchSettings.parameters}">
<jsp:useBean id="param" class="com.aaa.pos.config.Parameter"/>
<tr>
<td><%= param.getCategory() %></td>
<td><%= param.getName() %></td>
<td><%= param.getValue() %></td>
</tr>
</c:forEach>
I am using Tomcat 5 with jdk 5

