Created
December 15, 2016 12:10
-
-
Save sushanthmangalore/c8ca0409a4703727baffcaa03a457102 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Spent hours trying to figure out why my Spring MVC controller was not resolving to my JSP view correctly, despite the view resolver and all other configuration being in place. The name of the view returned from the controller method was being displayed in the browser window in plain text. Turned out I had the @RestController annotation in place instead of @Controller. Gaaaaaaarh ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment