struts中通过action跳转到外网(框架页面)

HttpSession session = arg2.getSession(true);
session.removeAttribute(GeneralConstant.USER_ATTRIBUTE);

----------------------------
  response.getWriter().write("<script>top.window.location.href('http://www.rainier.net.cn')</script>");
  return null;

-------------------------

你可能感兴趣的:(.net,框架,struts)