hi,
I am using
java beans. As well as sessions.
I want to have more than 1 form buttons in one of my
jsp files. For example 2 submit types called: "Back to Step 1"(input1.jsp) and "Proceed to Step 3" (input3.jsp) in a filed called input2.jsp
I want these to be in the form such that when we click "Back to Step 1" (input1.jsp) we go back one step, however, the data in the input fields on the input1.jsp is still visible, so user can edit the data.
and when after editing fields on input1.jsp the "Proceed to Step 2" (input2.jsp) button is pressed , the input2.jsp page appears, with the data we had entered before going back to input1.jsp still visible, so user can proceed with the form.
Also, i was wondering how can we have more than 2 buttons in logic,
as when we declare a form we use method="post" and action="input3.jsp"
So it seems only 1 button is supported:s. which i dont want.
But if i use 2 different forms for the two buttons the data on input1.jsp will not be visible in the form on input1.jsp.
Please help. Sorry Im a bit confused here:s Hope I have make myself cleared.
Cheers,
SA