在springmvc中请求*.html不可以返回json数据。 修改web.xml,添加url拦截格式。 转载于:https://www.cnblogs.com/w1995w/p/7890469.html