hi there, trying to access a value from a map in a c:out tag but the following doesn't appear to be displaying any value. Here's the code:
<c:out value=" letterForm.criteria.map['letterForm.criteria.type']" />
anyone have any ideas how to get the value from a map other than using the following code as it seems a bit inefficient as we have a map and know the key value.
<c:forEach var="exCovValue" items="${letterForm.criteria.map}">
<c:if test="${exCovValue.key == letterForm.criteria.type}">
<c:set var="extraCoverValue" value="${exCovValue.value}" />
</c:if>
</c:forEach>
Thanks