I am doing this from memory but I think it is right ...
Let' suppose that the HashMap is exposed on the bean by the method
Map getFooMap() {...}then you can use on your JSP:
<logic:iterate id="entry" name="bean" property="fooMap"> Key:<bean:write name="entry" property="key"/><br /> Value:<bean:write name="entry" property="value"/><br /> </logic:iterate>
Bill Siggelkow
Naresh Sharma wrote:
Hi,
I am setting a bean from my action class, this bean class has one hashmap object, and in jsp I want to print Hashmap "key" and "values" both.
Can you please suggest how to do that?
Regards Naresh
------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

