On Fri, 7 Mar 2003 10:31:08 +1100
"Steve Vanspall" <[EMAIL PROTECTED]> wrote:

> Ignore this one,
> 
> It seems that Struts doesn't know to go into the Hashtable entry and
> just get the value,

You can iterate through a map and display the keys and values just fine:

<logic:iterate id="element" name="someMapInScope">
    <bean:write name="element" property="key"/> - 
    <bean:write name="element" property="value"/><BR>
</logic:iterate>

Or better yet use JSTL tags:

<c:forEach var="element" items="${someMapInScope}">
    <c:out value="${element.key}"/> - 
    <c:out value="${element.value}"/><br>
</c:forEach>

 
-- 
Rick Reumann

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

Reply via email to