1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| [size=1em]<!--spring编码过滤器start -->
[size=1em] [size=1em]<filter>
[size=1em] [size=1em]<filter-name>encodingFilter</filter-name>
[size=1em] [size=1em]<filter-[size=1em]class[size=1em]>
[size=1em] [size=1em]org.springframework.web.filter.CharacterEncodingFilter
[size=1em] [size=1em]</filter-[size=1em]class[size=1em]>
[size=1em] [size=1em]<init-param>
[size=1em] [size=1em]<param-name>encoding</param-name>
[size=1em] [size=1em]<param-value>UTF-[size=1em]8[size=1em]</param-value>
[size=1em] [size=1em]</init-param>
[size=1em] [size=1em]<init-param>
[size=1em] [size=1em]<param-name>forceEncoding</param-name>
[size=1em] [size=1em]<param-value>[size=1em]true[size=1em]</param-value>
[size=1em] [size=1em]</init-param>
[size=1em] [size=1em]</filter>
[size=1em] [size=1em]<filter-mapping>
[size=1em] [size=1em]<filter-name>encodingFilter</filter-name>
[size=1em] [size=1em]<url-pattern>/*</url-pattern>
[size=1em] [size=1em]</filter-mapping>
[size=1em] [size=1em]<!--spring编码过滤器end -->
|