My code like this:
---------------------------------------------------
<%
{
java.util.Hashtable ht = new java.util.Hashtable();
ht.put(new Integer(1), "First");
ht.put(new Integer(2), "Second");
ht.put(new Integer(3), "Third");
pageContext.setAttribute("ht", ht, PageContext.PAGE_SCOPE);
}
%>
<logic:iterate id="hashEntry" name="ht"/>
Next element is <bean:write name="hashEntry" property="value"/>
</logic:iterate>
------------------------------------------------------
but an excetion like that:
javax.servlet.ServletException: IllegalAccessException accessing property
value of bean hashEntry
------------------------------------------------------
In the struts docu
(http://jakarta.apache.org/struts/struts-logic.html#iterate)
something like this:
So, if you wish to iterate over the values of a Hashtable, you would
implement code like the following:
<logic:iterate id="element" name="myhashtable"/>
Next element is <bean:write name="element" property="value"/>
</logic:iterate>
thanks in advance for your help,
Christof Ettl