• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

代码:

!-配置过滤器-

过滤器

过滤器名称字符编码过滤器/过滤器名称

过滤级组织。spring框架。网络。过滤器。字符编码过滤器/过滤器类

!-设置项目中使用的字符编码-

初始化参数

参数名称编码/param-name

参数值utf-8/参数值

/init-param

!-设置请求对象编码(HttpServletRequest)使用编码中的编码-

初始化参数

param-name for request encoding/param-name

参数值真实/参数值

/init-param

!-设置应答对象编码(HttpServletResponse)使用编码中的编码-

初始化参数

param-name for responseeencoding/param-name

参数值真实/参数值

/init-param

/过滤器

过滤映射

过滤器名称字符编码过滤器/过滤器名称

!-拦截所有-

全球资源定位器(Uniform Resource Locator)模式/*/url模式

/过滤器-映射

其中的字符编码过滤器配置参数:

image

三个成员变量一个字符串,两个布尔型,第一个表示编码方式,后两个表示是否使用第一个的编码,默认为假的;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now