【发布时间】:2013-05-13 09:21:53
【问题描述】:
当会话超时时,我重定向到登录页面。我需要的是,登录用户名是否与会话超时之前登录的用户名相同,然后页面将从登录页面重定向到先前用户访问的页面。
例如,
User name is Admin, when this user is open ContactUs.jsp, after the session timeout the page will be redirect to login.jsp, In login.jsp whether the same Admin user is logged in then, the page is redirect to ContactUs.jsp instead of home.jsp.
提前致谢。
【问题讨论】:
标签: java jsp servlets redirect struts