5,655
社区成员
发帖
与我相关
我的任务
分享
routeSearchBeanList=tmsRouteSearchManagerService.getEndWarehouseList(routeSWareHouseId);
JSONObject json = new JSONObject();
json.put("endWarehouseList", routeSearchBeanList);
super.response().setCharacterEncoding("UTF-8");
try {
PrintWriter printWrite = super.response().getWriter();
printWrite.write(json.toString());
printWrite.flush();
printWrite.close();
} catch (IOException e) {
logger.error(e, e);
}finally{
super.response().getWriter().close();
}
这是返回一个list组合的json!