@RequestMapping(value = “/hospitals/{id}”, method = RequestMethod.GET) How to get the value of id in controller method?”
@RequestMapping(value = “/hospitals/{id}”, method = RequestMethod.GET) How to get the value of id in controller method?”
a. @Variable(“d”)
b. @PathVariable(“id”)
c. None of the options
d. @RequestVariable(“id”)
e. @RequestMapping(“id�)