response.getWriter().print("brandName:商品1") 乱码 如题,请教高手,用ServletActionContext.getResponse().getOutputStream().print(json.trim());也是乱码,只要有中文就乱码,报错如下Not an ISO 8859-1 character: 树 at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:89) at com.xjgc.rsm.web.action.ProblemtypeAction.createTypeTree(ProblemtypeAction.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)