Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

question on redirecting in gwt

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?

like image 565
molleman Avatar asked Jan 21 '23 23:01

molleman


1 Answers

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.

like image 84
Jason Hall Avatar answered Jan 29 '23 07:01

Jason Hall