This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Skip to end of metadata
Go to start of metadata

Struts2-Jsr303-Validation-Plugin 1.0 is available now.

This Plugin works as a bridge between Struts2 and JSR-303 Compliant bean Validator. Some of reference implementation for JSR303 are

  • Hibernate bean validator
  • Apacche Bval

Project Home
Download Plugin

You can use Maven to add plugin in your struts2 application


Once plugin is in your application class path, all you need to extends you jsr303 and you will be ready to use JSR303 Validator.

<package name="default" extends="jsr303">
    <default-interceptor-ref name="jsr303ValidationStack"/>
    // action mapping

Please note that you need to add Bean validator in your application.You can add Hibernate bean Validator or Apache BVal either downloading from there download page or with help of Maven

Hibernate Validator


Apache BVal