黄舟2017-04-18 10:58:11
this represents the instance object of the current class. The current class is hosted by Spring. Spring creates the instance object of the class through the reflection mechanism, so we do not need to explicitly use the key value new to create the instance object of the class
高洛峰2017-04-18 10:58:11
Beans in spring are singletons by default, so this refers to the controller object
高洛峰2017-04-18 10:58:11
The controller class object is created and hosted by spring for you, and is a singleton by default