Hi, I have the following code on my jsp page:
<c:out value="${items}" /><br />
<c:forEach items="${items}" var="item">
1. <c:out value="${item.key}" /><br />
2. <c:out value="${item.key eq 70}" /><br />
3. <c:out value="${items[70]}" /><br />
4. <c:out value="${items[item.key]}" /><br />
</c:forEach>
And it produces the following output
{70=true}
1. 70
2. true
3.
4. true
And I just can't figure out why 3. is empty. Any ideas?
The map is of type Map<Integer, Boolean>