multiple request mappings spring boot code example
Example: multiple mapping @requestmapping
@RequestMapping has a String[] value parameter, so you should be able to specify multiple values like this:
@RequestMapping(value={"", "/", "welcome"})
@RequestMapping has a String[] value parameter, so you should be able to specify multiple values like this:
@RequestMapping(value={"", "/", "welcome"})