Page refresh: There are three ways: 1. Set it in HTML:
2.jsp <% response.setHeader ("refresh", "1");%> Refresh every second
3. Using JavaScript: