I have a web application implemented in Spring MVC, JSP. Default session timeout is defined in web.xml is 30 min.
Spring MVC
JSP
web.xml
if use
You can use like follows: I am using that in a jsp page like header.jsp. It works fine for me. I am using spring, jsp and jquery.
javascript:
HTML Div:
Your session will be timeout within 30 seconds. Do you want to continue session?