Question: how to set the selected value of dropdown in jsp?
Answer: Create your list.
Use <select> tag outside of your loop.
Use a loop. ... 
Inside your loop use an <option> tag.
Then, the <option value=*> (*) this place replaced with your <list_ref>. ... 
The value attribute'll send to your server.