I want to submit data on popup, save it, close popup and show the saved data on parent page. I am using struts 1.3 environment. I tried using following ways:
2) Using Struts, end of the "saveAction" of popup, I am forwarding it to "editAction" of parent page with expectation to bring the data and show it on the parent page. But this does not work. Any idea how it works in Struts?
Joined: Aug 29, 2008
I usually use option 1, but inorder to make sure that pop up window saves correctly I don't close it until after the application server returns a response to the pop up window indicating that the save was successful. I do this through an onload event in the body tag.