如何让Spring MVC Controller的同一个方法,根据逻辑判断返回JSON或者HTML视图?时间:2021-10-26 21:56:33如题 http://blog.csdn.net/defonds/article/details/7419640 http://docs.spring.io/spring/docs/3.0.x/javadoc-api/org/springframework/http/converter/AbstractHttpMessageConverter.html