<script>
function expireSession()
{
  window.location = "index.jsp";
}
setTimeout('expireSession()', <%= request.getSession().getMaxInactiveInterval() * 1000 %>);
</script>


출처 - http://www.javaservice.net/~java/bbs/read.cgi?m=devtip&b=servlet&c=r_p&n=1134976289&p=1&s=t#1134976289



Posted by linuxism
,