Answers for "multiple mapping @requestmapping"

0

multiple mapping @requestmapping

@RequestMapping has a String[] value parameter, so you should be able to specify multiple values like this:

@RequestMapping(value={"", "/", "welcome"})
Posted by: Guest on February-28-2021

Browse Popular Code Answers by Language