<%response.sendRedirect("team/listAllTeam.do");%> 

<jsp:forward page="team/listAllTeam.do"></jsp:forward> 

<%pageContext.getServletContext().getRequestDispatcher("/team/listAllTeam.do").forward(request,response); %> 


// 让SessionMap失效 

ActionContext.getContext().getSession().clear(); 

// 让HttpSession失效 

ServletActionContext.getRequest().getSession().invalidate();