Skip to Content
0
Former Member
Nov 29, 2017 at 06:13 AM

How to decode the integer value from ULR in controller?

46 Views

Hi All,

How can I use the following code for selecting Integer Value? @RequestMapping(value = "/dummy/{dummyInteger}") public String showDummyDetails(@PathVariable Integer dummyInteger, final Model model) throws UnsupportedEncodingException { Q.What changes I have to make here to decode the Integer value? stadiumName = URLDecoder.decode(stadiumName, "UTF-8") }

Please help me to solve this.