I want to redirect to another page when I log in, but don’t know how to do it. I was looking for stackoverflow, How to redirect a GWT application from the client side? but this solution seems to be inoperative.
Who has experience? Thanks
I suggest making a login without GWT. Thus, the browser may offer to remember the password for the user. If the login was successful, redirect the user to the URL of the GWT homepage.
Window.Location.replace(newURL)
Window.Location.assign("your url with parameter if needed");
JSNI:
public static native void redirect(String url)/*-{ $wnd.location = url; }-*/;
Source: https://habr.com/ru/post/1775809/More articles:How to get a specific string, knowing the value of the primary key? - sqlIs IE7 reliable in IE8 developer tool compatibility mode for testing website front-end design? - internet-explorer(Rails Question) Merging multiple hasm polymorphic relationships - polymorphismwhat will happen after I press enter button in web browser after entering google.com - networkingTransaction isolation level in financial applications - javaHow to get data from a table - sql-serverA simple query causing the message "server is gone" - mysqlНайти дублирующее содержимое в строке? - stringhow to get string action and controller names from UrlHelper - asp.net-mvcSystem.Management.Automation и System.Runtime.Remoting assembly - powershellAll Articles