Hi Ranchers,
I ve a scenario here.
Im using
struts 1.2 in my app. When i give search in the parent window, it will display the details in the display: table. Using a decorator im redirecting the control to open a new popup window. In the popup window, (after modifying the details)when i click save button, it has to do the following :
1.Call the save() action method in the popup windows action class.
2.Close the popup window.
3.Save the modification and shd display the message "saved successfully" in the parent window.
4.In the parent window it has to call the search() of parent window's action class automatically.
I used actionRedirect in the popup windows action class save().
ActionForward actionForward = mapping.findForward(Constants.REDIRECTSUCCESS);
actionRedirect = new ActionForward(actionForward.getName(),actionForward.getPath()+"?method=search",true);
return actionRedirect;
If anybody could find asolution it will be helpful for me..
Thanks
vijay