How can we achieve what the below HTML meta tag can do, in GWT?
<meta http-equiv="refresh" content="30" />
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want the browser to automatically refresh every 30 seconds, you can accomplish that with:
This is using
schedule()instead ofscheduleRepeating()because reloading the page like this will cause your GWT code to stop and restart fresh from the beginning. You probably want to avoid this.I’ll be honest, this practice “smells” pretty bad to me. If you give a little more information about why you would want to refresh the page every 30 seconds (thus requiring your GWT code to be reloaded), I can probably give you advice about how to better do what you want to do.