how to submit a form without losing values already selected at the same form

Posted by kawtousse on Stack Overflow See other posts from Stack Overflow or by kawtousse
Published on 2010-04-25T23:13:58Z Indexed on 2010/04/25 23:53 UTC
Read the original article Hit count: 386

Filed under:
|
|
|

Hi everyone,

I am using jstl with dropdown lists.

When i click submit button i success the specification but values int dropdownlists are reinitialized.

So I want to submit form without loosing the values already selected in the form because I need to stay always at the same level in the form.To be more clear, user choose a value from ddl and click edit button to show other options and fill them at the same form without loosing what he has selected.

I have tried to deal like that...

<form action="myjsp.jsp" method="post">
<input type="Submit" value="Edit">

...but it doesn't work.

Thank you for your help.

© Stack Overflow or respective owner

Related posts about form-submit

Related posts about jstl