i am using gwt to create a web application.
when a user presses the logout button, i want to be able to refresh the page(or basically redirect to the homepage)as my GWT application runs only on one html page.
what is the programmatic code to do this?
You want to use Window.Location.assign() to tell the browser to go to a URL, such as a URL pointing to a servlet that logs out the user.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With