@RequestMapping("/zone_ajaxtree") @ResponseBody public List zone_ajaxtree() { List zones = zoneBodyService.getZone_ajax(); return zones; }
Because we need to use @ ResponseBody, to introduce jackson-core-asl-1.8.7.jar and jackson-mapper-asl-1.8.7.jar, there must be code in the mvc.xml file:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn