springmvc返回json为什么页面总是空
1个回答
展开全部
roperty name="messageConverters"
list
bean class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter"
/list
/property
/bean
bean id="mappingJacksonHttpMessageConverter"
class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter"
property name="supportedMediaTypes"
list
value>text/html;charset=UTF-8 /list
/property
list
bean class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter"
/list
/property
/bean
bean id="mappingJacksonHttpMessageConverter"
class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter"
property name="supportedMediaTypes"
list
value>text/html;charset=UTF-8 /list
/property
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询