框架中超时跳转

                   框架中超时跳转 

                   this.getResponse().setContentType("text/html;charset=UTF-8");  

           this.getResponse().setCharacterEncoding("UTF-8");  
           PrintWriter out = this.getResponse().getWriter();  
           out.println("<script>alert('用户超时!');window.location.href = 'permission/permission!login.action';</script>");  
           out.flush();  
           out.close();  

猜你喜欢

转载自blog.csdn.net/klicky/article/details/38523333