@ResponseBody 乱码

  显然,这个问题不是我第一个遇到。已经有一些人做了研究了。但我发现这种方式在spring 3.1.0依然不行。没有小心跟踪源码。也没能给出方案,自己还是换回3.0.5了。3.1.0返回的是Content-Type:text/plain;charset=ISO-8859-1。而3.0.5则能返回Content-Type:text/plain;charset=utf-8

posted @ 2011-10-26 14:26  咖啡不苦  阅读(1458)  评论(0编辑  收藏  举报