I have a form that needs to be repopulated when the user does an update but I don't what the selected value in a selectbox to change back to the first choice in the selectbox. How can I get it's current index and set it to that index when the form is repopulated.
Thanks in advance.
here is the select box in the jsp file
this is the java part where I do the setting of the selectbox and other parameters