- Spring 5.0 Cookbook
- Sherwin John Calleja Tragura
- 47字
- 2021-07-08 10:16:22
Creating a simple @Controller with method-level URL mapping
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.