session過時返回登陸頁面跳出iframe

方法1:經過Response回寫跳轉jsjavascript response.getWriter().print("<html><script>window.open ('"+request.getContextPath()+"/login.jsp','_top')</script></html>"); 方法2:經過在登陸頁添加jshtml if(window != top) {
相關文章
相關標籤/搜索