Print controller using RequestParam rather than PathVariable