解决方案:将json格式用response设置编码后输出
Map<String,Object> resultMap = new HashMap<String, Object>();
resultMap.put("downloadSoftUrl", downloadSoftUrl);
resultMap.put("hotKeys", hotKeyList);
resultMap.put("isClose", isClose);
String jsonResult = JSON.toJSONString(resultMap, true);
//解决json前端乱码问题
response.setContentType("text/html;charset=UTF-8");
response.getWriter().print(jsonResult);