where stateMap is a hash map
There are other such lists with
When the form is submitted, I want the action class to be able to access the value of the selected item in the list(which it is doing) and
the text of the selected item also(which I do not know how to do.)
The form bean has getter setter methods for each list, but only the value seems to be submitted.
subject: how to get both value and text of selected item in action class