I have the method below:
@RequestMapping(value = \"/path/to/{iconId}\", params=\"size={iconSize}\", method = RequestMethod.GET)
public void webletIconData(@P
Use @RequestParam
:
@RequestMapping(value = "/path/to/{iconId}", method = RequestMethod.GET)
public void webletIconData(@PathVariable String iconId,
@RequestParam("size") String iconSize,
HttpServletResponse response) throws IOException { ... }
See also: