Is there a way to tell Spring to match the request to another method by the type of the path variable if they are in the same place as uri?
For instance,
@RequestMapping("/path/{foo}") @RequestMapping("/path/{id}")
If foo is supposedly a string, id is int, is it possible to display the map correctly instead of searching in the request URI?
hsluo source share