Cant you also do a timeout() method call? Not my forte, but do recall something about this...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 29 January 2002 12:24 To: [EMAIL PROTECTED] Subject: RE: Navigation: To popup and back have the action forward to a page that loads a document containing a javascript handler in the body tag: <body onload="self.close()"> As long as you opened the popup from another page via javascript, you won't get any nasty messages about closing the window. Lee -----Original Message----- From: Jeff Oberlander [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 8:07 PM To: Struts Users Mailing List (E-mail) Subject: Navigation: To popup and back Hi all. Here's what I want to do: >From a current active session: Popup a new browser window that contains an ActionForm, and keeps the current session. Submit the form to the Action servlet. Close the popup window. Return to the main browser and original window. I have a javascript that pops up the window that contains my jsp with the ActionForm, no problem. But thats where I get stuck. How do I close the window upon submitting the form and return to the original browser *after* the Action has completed? Any help is appreciated. Thanks - Jeff http://www.xns.org/=jeffo This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>