@RequestMapping("/rest/test.{type}")
	@ResponseBody
	public Object test(@PathVariable String type, Model model, HttpServletRequest request, HttpServletResponse response) 
	{

		Item objMock = new Item(0, "GAZ", "Butane");
		if(type.equalsIgnoreCase("xml"))
			return objMock;
		else
			return new ModelAndView("jsonView", "object", objMock);
	}