springmvc跳转

一直跳转出错.因为 跳转的时候用的auth/auth_error.jsp

 

@RequestMapping(method = RequestMethod.POST)

public ModelAndView auth_post(HttpServletRequest request,HttpServletResponse response) {

 

DoradoContext.init(request.getSession().getServletContext(), request);

 

//通过返回参数,获取授权的应用

 

 

 

ModelAndView mav = new ModelAndView();

mav.setViewName("auth/auth_error");

mav.addObject("aaa", "11111");

mav.addObject("code","1111");

return mav;

}

你可能感兴趣的:(spring mvc 跳转)