![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringMVC
代码_终结者
这个作者很懒,什么都没留下…
展开
-
SpringMVC中web.xml,springmvc-config.xml固定代码
一、web.xml<?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/原创 2021-11-25 15:59:45 · 189 阅读 · 0 评论 -
SpringMVC常用依赖
<!-- 测试包--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency><!-原创 2021-11-25 15:37:12 · 847 阅读 · 0 评论 -
SpringMVC解决中文乱码
在web.xml中配置<filter> <filter-name>encoding</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init-param> <param-name>encoding</param-name>原创 2021-11-23 15:25:44 · 87 阅读 · 0 评论