AntiXSS.java 293 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 package com.xkl.security; import java.lang.annotation.*; /** * 防止XSS攻击注解,作用在DAO层,在写入前过滤数据(save | update) * Created by win7 on 2016/10/21. */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface AntiXSS { }