javascript - Reload web page in GWT -


after user logged , press page url in page if user press confirm button want relaod page not home page

 window.alert(constantesmessage.message_msg004);                                 eventbus.gotomypage();                                 window.location.reload(); 

this solution work it's reload home page not page

a gwt application single page application. if reload web page start page, unless use history tokens. see http://www.gwtproject.org/doc/latest/devguidecodingbasicshistory.html when have history token page still reloaded, based on history token can open page want show. guess don't have history token set, you'll home page.

as thought. looks built login in gwt. better solution provide separate login page. , when user logged in open application.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -