From: <[EMAIL PROTECTED]>

> The data structure I use is a HashMap, whose values are other HashMaps.
>
> I'm trying to nest two logic:iterate tags to print out the keys in the
> outer map and the values in the inner Map.

<c:forEach var="outerMapEntry" items="${outerMap}">
    <c:out value="${outerMapEntry.key}"/>
    <c:forEach var="innerMapEntry" items="${outerMapEntry.value}" >
          <c:out value="${innerMapEntry.value}"/>
    </c:forEach>
</c:forEach>

See http://wiki.wendysmoak.com/cgi-bin/wiki.pl?JSTLNestedMapIterate for test
code.

-- 
Wendy Smoak



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to