I am using struts2 for my webapp development. I am also using "MyFilterDispatcher.java" to process all incoming requests.
My requirement is: when a user doesn't access any part of the application for 2 mins; then redirect the user to login page. I've used <session-timeout>2</session-timeout> in web.xml. In addition to this, How do i redirect the user to login.jsp page now?