hi,
A hashmap is a form attribute(say mapObject) and contains two key value pairs,say{(a,0),(b,0)}.....sorted
i am displaying the key in
jsp by:
<logic:iterate id="map" name="myForm" property="mapObject">
<bean:write name="map" property="key"/>
</logic:iterate>
o/p:
b
a
ok,modify the map.........{(a,0),(b,0),(c,0)}
o/p:
b
c
a
its seems that the key is picked from the map randomly,although its sorted there.
can anyone throw light??