1.@ModelAtrribute 에 대하여 설명하시오.
- Set data in the model before a handler method excutes.
- Or inject the model into the controller directly.
2.@RequestMapping 과 @GetMapping 의 차이는?
@RequestMapping
: get and post both works with this annotation.@GetMapping
: only get works with this annotation.