You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jens Kühnberger <Ku...@web.de> on 2002/03/20 17:28:53 UTC
Detect stop in Action
Is it possible to detect in an Action, if the user pressed the stop
button of the browser?
Jens
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Detect stop in Action
Posted by Ted Husted <hu...@apache.org>.
The Action is a servlet-delegate, and so anythinng you can detect in a
servlet you can detect in an Action. You might ask about detecting stop
in a servlet on jGuru or The ServerSide (and report back :o).
http://jguru.com/forums/Servlets
http://www.theserverside.com/home/index.jsp
-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services
Jens Kühnberger wrote:
>
> Is it possible to detect in an Action, if the user pressed the stop
> button of the browser?
>
> Jens
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Detect stop in Action
Posted by Jay sissom <js...@toybox.uits.indiana.edu>.
I've been told that if you print to the browser and get an I/O exception,
they pressed the stop button. The problem with this is that you need to
print something to find out.
I haven't tested this so I don't know if it works at all. It's something
you can try.
Jay
On Wed, 20 Mar 2002, Jens [ISO-8859-2] Kühnberger wrote:
> Is it possible to detect in an Action, if the user pressed the stop
> button of the browser?
>
> Jens
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>