return new ModelAndView(new RedirectView("http://www.baidu.com")); 转载于:https://www.cnblogs.com/wym789/p/9138868.html