- 浏览: 2952 次
- 性别:
- 来自: 北京
最新评论
-
漫步邃思:
改成模式匹配的效果会更好
web项目XSS漏洞处理
文章列表
public void doFilter(ServletRequest req0, ServletResponse res0,
FilterChain chain)
{
HttpServletResponse response = (HttpServletResponse) res0;
HttpServletRequest request = (HttpServletRequest) req0;
response.setHeader("P3P", "CP=CAO PSA OUR");
try
{
// Act ...