问题描述
1、controller方法
2、页面展示
解决方法如下
1、确定引用了以下包
2、在springmvc的配置文件中加一下配置
展示结果
说明:spring-mvc低版本包则配置文件加的内容不一样