Hi
I have a gwt application. Runs on tomcat.
After loading the main page of the application I kill the session by session manager or clean my browser cache - imitation of session timeout(invalidate).
On next request to server I need to get StatusCodeException and do a redirect to login page. Before next request is necessary to open some form of application. But after invalidate of session some part of the code can not upload and I get an error in the browser console:
Uncaught SyntaxError: Unexpected token <
__gwtInstallCode
$ tryInstall
onReadyStateChange
(anonymous function)
apply
entry0
(anonymous function)
I understand that some part of the code can not upload, resulting script is not true.
Can I somehow catch this error?
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment