摘要: 使用Spring的@ResponseBody有时还是挺方便的,在ajax调用返回纯字符串时有中文编码问题。@ResponseBody@RequestMapping(value="/decode",produces=MediaType.TEXT_PLAIN_VALUE+";charset=utf-8")publicStringdecode(HttpServletResponseresponse,@R... 阅读全文
posted @ 2013-11-07 17:01 xlongwei 阅读(1303) 评论(0) 推荐(0) 编辑
xlongwei