% response.addHeader("Cache-Control", "no-store,no-cache,must-revalidate"); response.addHeader("Cache-Control", "post-check=0,pre-check=0"); response.addHeader("Cache-Control", "proxy-revalidate"); response.addHeader("Pragma", "no-cache"); response.addHeader("Expires", "0"); System.out.println("request.getUserPrincipal() :"+request.getUserPrincipal()); String callerPrincipal = (String) request.getSession().getAttribute("login.user"); if(callerPrincipal!= null) { //response.sendRedirect("home.jsp"); } if(request.getUserPrincipal()!=null){ response.sendRedirect("login.do"); } %>
|
||||||||||
|
|
||||||||||
|
||||||||||