摘要: 1.这种方式,直接在action中写@RequestMapping请求路径即可 2.这种方式需要加上${pageContext.request.contextPath},后面跟RequestMapping请求路径 阅读全文
posted @ 2021-09-26 16:29 捕获到一只小白 阅读(399) 评论(0) 推荐(0)
摘要: 将xml的编码由utf-8改为GBK 阅读全文
posted @ 2021-09-26 16:19 捕获到一只小白 阅读(83) 评论(0) 推荐(0)
摘要: 在SpringMVC配置文件中添加如下代码 <!--json格式乱码处理--><mvc:annotation-driven> <mvc:message-converters register-defaults="true"> <bean class="org.springframework.http 阅读全文
posted @ 2021-09-26 16:16 捕获到一只小白 阅读(58) 评论(0) 推荐(0)