| Author |
How to make two submits to work serially
|
Chetan Parekh
Ranch Hand
Joined: Sep 16, 2004
Posts: 3636
|
|
I have a parent page which open a child page. I have a requirement where if child page <form> is submitted then after the submit process of child page completes, parent page <form> should also submitted.
I have written following code in doSubmit() of child page.
I am facing issues that both statements are getting executed parallel and hence updated data of child page is not getting displayed on parent page.
How to make this two statement to work serially?
|
My blood is tested +ve for Java.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
Submit the parent form in the response of the child form.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Chetan Parekh
Ranch Hand
Joined: Sep 16, 2004
Posts: 3636
|
|
|
Thanks Bear!
|
 |
 |
|
|
subject: How to make two submits to work serially
|
|
|