框架中超时跳转
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();