I have a Map in session and i want to populate the drop down element with the values in the Map. I am to able do it with List in session.
some thing like
<html:select property="Reports" >
<html
ptions name = "collectionname" />
</html:select>
Now i have a Map in seession like
myMap.put("1" ,"Robert");
myMap.put("2", "David");
mymap.put("3", "Edward");
and i want my drop down to have values populated with keys of map like 1, 2, 3.
can anyone help me how to acheve this using
html
ptions , I appreciate any inputs.