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
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
Beans in spring are singletons by default, so this refers to the controller object
The controller class object is created and hosted by spring for you, and is a singleton by default