I have following two mapping in Spring Controller
1. @RequestMapping(value = {"/projects/{title}_{id}/home"})
and
2. @RequestMapping(value = {"/projects/{title}/home"})
My requirement is to give priority to first mapping but Spring is matching the second for the URL "/project/xyz-abc_20/home"
How can I solve this?
Spring version - 4.3.7.RELEASE