RequestDispatcher rd = request.getRequestDispatcher("/WebContent/addTeamFail.jsp");
rd.forward(request, response);
这个路径("/WebContent/addTeamFail.jsp"); 应该根据什么来写
------解决方案--------------------
request.getRequestDispatcher("/index.jsp").forward(request, response) ;
通常这样跳转就可以了啊
WebContent/addTeamFail.jsp 应该是WebContent文件夹下的addTeamFail.jsp页面