I am using struts and JSP's I want to redirect upon timeout to the login page. I check the session in each page and if it doesn't exist, I send them . The problem with this is that the user needs to submit something. They might think they have a session until they hit submit.
and its too tedious to do this on each and every page is there some other way in struts using web.xml or struts-config.xml