I need your help. I am new to jsp. here is my questions.
I ahev a JSP page with a dropdown box. When the page first loads it gets data from teh server and loads the dropdown box. The user selects one value and hit submit. First I am self submitting the page to do the server side validations. But the problem is when it reloads the dropdown box is refilled and it is not retaining the data that the user selected before the submit.
For eg: teh DROP DOWN has the follwoing entries.
Value 1 Value 2 Value 3 .. Teh user selected Value 3 in the dropdown and submitted the Page. When it reloads after the validation, it is loosing its previous value (Selection of Value 3) and the dropdown is again defaults to "Value 1"
Can any body please help me how I should be able to retain the previous value which is "value 3" even after I reloads the page ?