0%
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| <mvc:annotation-driven> <mvc:message-converters> <bean class="com.goldpalm.core.spring.mvc.UTF8StringHttpMessageConverter"> <property name="writeAcceptCharset" value="false" /> </bean> </mvc:message-converters> </mvc:annotation-driven>
添加这段配置 <bean class="com.goldpalm.core.spring.mvc.UTF8StringHttpMessageConverter"> <property name="writeAcceptCharset" value="false" /> </bean>
4.0改为
<bean class="org.springframework.http.converter.StringHttpMessageConverter"> <property name="writeAcceptCharset" value="false" /> </bean>
|