I also use Spring Security and the technique described above
(created:  FailureHandlingAsyncCallback implements AsyncCallback).

Problem is it works beautifully on FF but not on IE.

...
        public void onFailure(Throwable caught)
        {
                maskArea.unmask();
                if (caught instanceof StatusCodeException)
                {
                        StatusCodeException sce = (StatusCodeException) caught;
                        if (sce.getStatusCode() == 302)
                        {
                                // Timeout occurred - go back to base url, 
forcing a clean re-
login
                                
SelfServiceEntry.redirect(GWT.getModuleBaseURL());
                        }
                }
                else
                        MessageBox.alert("Error: " + caught);
        }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to