Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSF and the fly likes invoking action when browser is closed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "invoking action when browser is closed" Watch "invoking action when browser is closed" New topic
Author

invoking action when browser is closed

Don Ruckle
Greenhorn

Joined: Dec 13, 2009
Posts: 1
Hi,
Is there any way to invoke an action on my backing bean when user closes browser by pressing X?

I've tried to force it by invoking click() on button on "onunload" event but it doesn't work.
I would be grateful for any suggestions.

Don
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: invoking action when browser is closed
 
Similar Threads
Browser Refresh
A client/server issue ...
Getting 400 bad request error
lazy collection invoked by OgnlUtil.java even though not referenced in JSP page
Servlet processing