spring mvc中的initBinder是做什么用的

日期:2017-02-27 10:25:43 人气:1

spring mvc中的initBinder是做什么用的

@RequestMapping("/testAction") public ModelAndView testAction(HttpServletRequest request){ ModelAndView mav = new ModelAndView(); System.out.println(request.getParameter("name")); return mav; } 在你的action方法入参中写上HttpServletRe
    A+
热门评论