摘要: 方法一: 通过@RequestMaping的produces属性来实现,修改下代码 //produces:指定响应体返回类型和编码@RequestMapping(value = "/xxx",produces = "application/json;charset=utf-8") 方法二: 乱码统一 阅读全文
posted @ 2020-07-15 14:12 ITYW 阅读(559) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2020-07-15 12:11 ITYW 阅读(274) 评论(1) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/schema/mvc" 阅读全文
posted @ 2020-07-15 12:10 ITYW 阅读(130) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd" ><web-app> <display-name>A 阅读全文
posted @ 2020-07-15 12:09 ITYW 阅读(302) 评论(1) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch 阅读全文
posted @ 2020-07-15 12:08 ITYW 阅读(443) 评论(0) 推荐(0) 编辑