technotes.khitrenovich.com
Spring MVC: return view or send error from the same handler
There are many Spring MVC primers on the web that explains Spring MVC basics to some extent. Example of request handler that creates some model data and returns view name is definitely one of the b…