How View resolver determine which controller to load when more than one @Controller exist.
I am learning Spring from Scratch, as per my instructor she says, we need to have only one Controller class with @Controller annotation. what if I have more than one class with a @Controller annotation and how ViewResolver determines which controller class to load, as Spring is singelton and only one controller class exist.
