aspose file tools*
The moose likes Struts and the fly likes Struts action triggered by onUnload event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts action triggered by onUnload event" Watch "Struts action triggered by onUnload event" New topic
Author

Struts action triggered by onUnload event

Joe Urbanek
Greenhorn

Joined: Jan 31, 2005
Posts: 15
I have an action class that triggers a pop up window displaying the results of the action. What I want to happen is when a user clicks a cancel button in the popup window I want the pop up window to transfer the control to the parent window and then trigger an action class that refreshes the parent window before the pop up closes, then I want the pop up window to close.

Any assistance is appreciated.
[ January 31, 2005: Message edited by: Joe Urbanek ]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Joe, I'm moving this thread over to our HTML and JavaScript forum since your problem is not specific to Struts (the solution is the same, regardless of whether the target is a Struts action, a JSP, or a regular Servlet).

Please continue the discussion over there.

Thanks.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts action triggered by onUnload event