Understanding How Spring MVC’s @RequestMapping POST Works
This is complicated, I think it is better to read the code. In Spring 3.0 The magic is done by method public Method resolveHandlerMethod(HttpServletRequest request) of the inner class ServletHandlerMethodResolver of org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter. An instance of this class exists for every Request Controller Class, and has a field handlerMethods that contains a list of all the … Read more