以下两个不管用哪个都无法实现跳转。
req.getRequestDispatcher(path).forward(req,resp); resp.sendRedirect(path);
最终只能在页面的javascript实现跳转。