用springmvc乱码何解?
已设置字符滤过器,forcencoding已为true
也设置了XStream xStream = new XStream(new DomDriver("UTF-8"));
我是使用@responsebody直接返回字符串的,难道还非要用response的write方法?
已设置字符滤过器,forcencoding已为true
也设置了XStream xStream = new XStream(new DomDriver("UTF-8"));
我是使用@responsebody直接返回字符串的,难道还非要用response的write方法?
2017-08-19
举报