/** * Model接口 * 作用:将值存放到request对象 * * * @return */ @RequestMapping(value = "/testModle") public String testModle(Model model){ model.addAttribute("mes","张三"); System.out.println("执行......"); return "success"; }