HashMap<String, String> into Struts select menu?
I have a hashmap of of keys and values (both strings)
the values are retrieved out of a database, and put into a form bean's hashmap variable. now i want to use a <s:select> menu and display the keys in a drop down list with the key's value being passed when selected and submitted. can this be done? if so, how?
not real but say my hashmap is called myMap, with
in it. how can i get the #'s to be shown in the drop down list but the Spelling number to be submitted off when the form is submitted.