I use gwt requestBuilder to query server result, if server-side spring checked user is not authenticated, it will forward to <form-login login-page="/gwtapplication.html#!login" , but gwt is not forwarded to that page. see below
requestBuilder.setCallback(new RequestCallback() { @Override public void onError(final Request request, final Throwable exception) { resultCallback.onFailure(exception); } @Override public void onResponseReceived(final Request request, final Response response) { if(response.getHeader("Content- Type").toLowerCase().equals("text/html".toLowerCase())) { //response.getText() is /** Expires Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie JSESSIONID=1emk892yva1e9;Path=/ Location http://127.0.0.1:8888/gwtapplication.html#!login Content-Length 0 Server Jetty(6.1.x) **/ } } }); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.