Showing
1 changed file
with
10 additions
and
7 deletions
@@ -22,13 +22,16 @@ | @@ -22,13 +22,16 @@ | ||
22 | <list> | 22 | <list> |
23 | <bean class="org.springframework.http.converter.ByteArrayHttpMessageConverter"/> | 23 | <bean class="org.springframework.http.converter.ByteArrayHttpMessageConverter"/> |
24 | <bean class="org.springframework.http.converter.StringHttpMessageConverter"> | 24 | <bean class="org.springframework.http.converter.StringHttpMessageConverter"> |
25 | - <property name="supportedMediaTypes"> | ||
26 | - <list> | ||
27 | - <value>text/plain;charset=UTF-8</value> | ||
28 | - <value>text/html;charset=UTF-8</value> | ||
29 | - <value>text/xml;charset=GBK</value> | ||
30 | - </list> | ||
31 | - </property> | 25 | + <property name="supportedMediaTypes"> |
26 | + <list> | ||
27 | + <value>text/plain;charset=UTF-8</value> | ||
28 | + <value>text/plain;charset=utf-8</value> | ||
29 | + <value>text/html;charset=UTF-8</value> | ||
30 | + <value>text/html;charset=utf-8</value> | ||
31 | + <value>text/xml;charset=GBK</value> | ||
32 | + <value>text/xml;charset=gbk</value> | ||
33 | + </list> | ||
34 | + </property> | ||
32 | </bean> | 35 | </bean> |
33 | <bean class="org.springframework.http.converter.ResourceHttpMessageConverter"/> | 36 | <bean class="org.springframework.http.converter.ResourceHttpMessageConverter"/> |
34 | <bean class="org.springframework.http.converter.FormHttpMessageConverter"/> | 37 | <bean class="org.springframework.http.converter.FormHttpMessageConverter"/> |
-
Please register or login to post a comment