How to refresh the jsp page after a given time(or interval)?

后端 未结 4 1245
遥遥无期
遥遥无期 2021-01-12 10:52

I would like to refresh/reload my jsp page after a certain time interval. Consider the time interval is of 5 minutes.

How can achieve it?

4条回答
  •  独厮守ぢ
    2021-01-12 11:42

    Or you can use javascript to do this:

    
    

    setTimeout will reload the page after a specified number of milliseconds, hence 60 * 1000 = 1m.

提交回复
热议问题