The previous recipe centralizes on the URL mapping by having a class-level @RequestMapping annotation. This time the goal is to illustrate how a simple @Controller manages handler methods with each having both the HTTP method and request URL settings.
Creating a simple @Controller with method-level URL mapping
Getting started
Utilize the same Eclipse STS project ch03 to implement our @Controller and its components. This recipe focuses on other ways of dealing with @Controller and @RequestMapping with the inclusion of using other HTTP methods such as DELETE and PUT. In relation to the PUT method, the recipe will discuss file uploading at the side.