spring mvc 处理方法的返回方式:ModelAndView, Model, ModelMap, Map,View, String, void
阅读更多ModelAndViewJava代码1@RequestMapping("/show1")2publicModelAndViewshow1(HttpServletRequestrequest,3HttpServletResponseresponse)throwsException{4ModelAndViewmav=newModelAndView("/demo2/show");5mav.add