You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ragner Magalhaes <ra...@gmail.com> on 2011/03/31 20:51:46 UTC
How to free resources after form have been closed
Hi all,
I am newbie on Struts.
I have the follow flow example:
appview1(jsp file) -> open -> appview2(jsp file)
Where the appview2 has a FormAction and an Action
What is the best way to know when appview2 was closed?
Sorry my newbie question!
--
Ragner Magalhães
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: How to free resources after form have been closed
Posted by Dave Newton <da...@gmail.com>.
On Thu, Mar 31, 2011 at 2:51 PM, Ragner Magalhaes wrote:
> appview1(jsp file) -> open -> appview2(jsp file)
>
> Where the appview2 has a FormAction and an Action
>
> What is the best way to know when appview2 was closed?
What kind of resources are you trying to free?
The only way is to monitor traffic from the client (like a timer-fired
Ajax event: if the app stops getting them, the window went away). If
you're just talking about session stuff, it'll go away when the
session expires.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org