

include the following
meta http-equiv="refresh" content="<%=session.getMaxInactiveInterval()%>;url=index.jsp" />
include it in the header section of html

response.setIntHeader("Refresh",5);
this will simply auto refresh the page every 5 seconds
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.