请求得到的xml
1.首先我把请求的路径放到了配置文件里
2.通过Spring提供的注解来读取配置文件
3.如果测试读取不到配置路径,检查一下有没有讲配置文件加到SpringContext容器里(在Spring-mvc,xml里配置)
4.进入主题,采用don4j来解析xml
@RequestMapping("/getAllNotAcceptedCaseList")
@ResponseBody
public JsonResult GetAllNotAcceptedCaseList() throws Exception {
Mapmap = new HashMap<>();
try {
SAXReader reader = new SAXReader();