I would like to know what are the differences between Path
and Variable
in Spring MVC in the Controller
class.
@RequestMapping("/home")
@RequestMapping(value = "/home")
@RequestMapping(path = "/home")
Base on the Spring Documentation Spring 5 Annotation Type RequestMapping the path is an alias for value, and the value is the alias for the path. I would like to know this 3 RequestMapping definitions and difference.