https://github.com/CatDou/param-validator
$ git clone https://github.com/CatDou/param-validator
<dependency>
<groupId>com.github.catdou</groupId>
<artifactId>param-validator</artifactId>
<version>1.3-SNAPSHOT</version>
</dependency>
<filter>
<filter-name>paramValidator</filter-name>
<filter-class>org.catdou.validate.filter.ParamFilter</filter-class>
<init-param>
<param-name>type</param-name>
<param-value>xml</param-value>
</init-param>
<init-param>
<param-name>path</param-name>
<param-value>classpath*:xml/**/validate_*.xml</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>paramValidator</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>