Using Spring 2.5 note-driven spring MVC
Original link:http://www.ibm.com/developerworks/cn/java/j-lo-spring25-mvc/
Note-based configuration has an increasingly popular trend, and spring 2.5 conforms to this trend, providing spring MVC with a fully annotation-based configuration. This article introduces the new sping MVC annotations feature in Spring 2.5, which describes how to replace the traditional XML-based Spring MVC configuration with the annotation configuration.
Overview
Spring 2.5 Introduces note-driven functionality for spring MVC after Spring 2.0 's major upgrade to spring MVC. Now you don't have to have the controller inherit any interfaces, you don't need to define the mapping of the request and controller in the XML configuration file, just using annotations can make a POJO with most of the functions of the controller--spring the ease of use of the MVC framework Further enhancements. In framework flexibility, ease-of-use, and extensibility, spring MVC has gone beyond the other MVC frameworks, and with spring singing Mengjin, it is anticipated that spring MVC's appeal to the MVC market will become increasingly irresistible.
This article introduces the new sping MVC annotations feature in Spring 2.5, which describes how to replace the traditional XML-based Spring MVC configuration with the annotation configuration.
Using Spring 2.5 note-driven spring MVC