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!

Help! updating inpute field to another JSP without the "submit" button

843840Sep 24 2001 — edited Sep 27 2001
Hi, I am having some problem with the JSPs that I am writing. The situation I have is like this:

On a jsp page (change.jsp), I have a form with input field and radio buttons. The user is suppose to go into this change.jsp and do their changes on the information. There is also the radio buttons which allow the user to choose a "yes" or "no" option. By choosing this radio button, the page will refresh according because the "no" option will cause some input cells to Greyed out. ( actually, the page doesnt refresh, it just load up a yes.jsp or no.jsp accordingly)

However, whenever the user click the radio button (assuming that the user click 'yes' to load yes.jsp), the changes that the user has made to the fields before will be lost because the user goes from change.jsp to yes.jsp without submitting the form.

What I would like to do is to let the user to make their neccessary changes to the form (including the input text field AND the radio button) and then they could press the submit button to actually store all the data into backend.

During the transistion from change.jsp to yes.jsp, I do not want to store any of the data back to the back end because the user may click the "cancel" button on the form.

Is there anyway to approach this problem??

Thanks in advance!! =)

Calo

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 25 2001
Added on Sep 24 2001
5 comments
292 views