spring_mvc(六)Rendering Views
[color=blue]HTML generated by JSP template[/color] [code="java"] @RequestMapping(value="/html", method=RequestMethod.GET) public ModelAndView prepare() { System.out.println("aaa"); ModelAndView mav = new ModelAndView("test_mvc"); mav.addObject("foo", "bar"); mav.addObject("fruit", "apple"); return mav; } [/code] [code="java"] [/code]