how to detect when the user presses the stop button

2002-07-29 Thread Andrew Geery
I was looking through the struts archive and I've seen this question asked but never answered. See http://nagoya.apache.org/eyebrowse/ReadMsg?listId=42msgNo=30063 for the original question. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: how to detect when the user presses the stop button

2002-07-29 Thread Eddie Bush
Yes, it has been answered. The answer is that, assuming the page they are waiting to load is printing things out, you will get an IOException when you try to send output. AFAIK, this is the only way to detect it. Andrew Geery wrote: I was looking through the struts archive and I've seen

Re: how to detect when the user presses the stop button

2002-07-29 Thread Tony Baity
This is a browser client and JavaScript question unless you are using an applet with an open connection to your server. You may want to redirect the question to the Mozilla org. The browser folks have not built in detection of those window component events on an individual basis except for

RE: how to detect when the user presses the stop button

2002-07-29 Thread Andrew Geery
I saw that answer, but I was wondering if struts generated an event or action that corresponded with it. But I guess the answer is that the framework doesn't give any help here :(. Thanks for your help. Andrew -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Monday,

RE: how to detect when the user presses the stop button

2002-07-29 Thread Dan Petrie
Look on jGuru.com You will find the answer there. -Dan- -Original Message- From: Andrew Geery [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 3:18 PM To: 'Struts Users Mailing List' Subject: RE: how to detect when the user presses the stop button I saw that answer, but I was

Re: how to detect when the user presses the stop button

2002-07-29 Thread Craig R. McClanahan
On Mon, 29 Jul 2002, Eddie Bush wrote: Date: Mon, 29 Jul 2002 14:10:45 -0500 From: Eddie Bush [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: how to detect when the user presses the stop button Yes, it

Re: how to detect when the user presses the stop button

2002-07-29 Thread Tony Baity
On an associated topic... When someone clicks the browser stop button and the session eventually times out, I have in the past implemented HttpSessionBindingListener on a special class used just for cleaning up the database/ejbs and attached an instance to the session in an overridden