Salve.
Ho fatto il seguente metodo:
codice:
@RequestMapping("/hi/{countryName}/{userName}")
		public ModelAndView hiWorld(@PathVariable Map<String,String> pathVars) {
			
			String name = pathVars.get("userName");
			String country = pathVars.get("countryName");
			
			ModelAndView model = new ModelAndView("HelloPage");
			model.addObject("msg", "hello " + name + " You are from " + country);
			return model; }
Però ho un problema al recupero con il metodo get delle variabili:
pathVars.get("userName");

Come può essere risolto?
Grazie