Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to retain the value of drop down after submit in a Jsp page?

843840Jan 22 2009 — edited Jan 23 2009
Hi all,

I've a drop down menu. But after the selection and submit of the button, it resets the value to the default.
How can i retain the selected value after submit, as i'm using the same page after submit ?
<select name='tableMatch' id='Match'>
       <option value='ALL' >All</option>
       <option value='MATCHED' >Matched</option>
       <option value='UNMATCHED' >Unmatched</option>
  </select>
Thanks in advance,
Lakshma
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2009
Added on Jan 22 2009
7 comments
3,835 views