After submitting, redirecting to the same jsp page select box value should be previously selected one.
<form action="CitySelection" method="POST">
<select name="cityname" id="myselect" onchange="this.form.submit()">
<option value="england">england</option>
<option value="france">france</option>
<option value="spain">spain</option>
</select>
</form>
How to do this ?
You will have to place your selected value in a hidden field on submit and on reload send it back to the page and then read it to re-select the value previously selected