springmvc3注解如何返回xml类型
@RequestMapping(value="/show3", method = RequestMethod.GET)
public ModelAndView getShow3(People people){
System.out.println("show3");
ModelAndView modelAndView = new ModelAndView();
this.people = people;
modelAndView.setViewName("json");
modelAndView.addObject(people);
modelAndView.addObject("json","11");
return modelAndView;
}