Showing results for 
Search instead for 
Did you mean: 

How to decode the integer value from ULR in controller?

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos