Child pages
  • DWR Plugin
Skip to end of metadata
Go to start of metadata

The DWR plugin INLINE

provides integration with the Ajax framework Direct Web Remoting


This plugin works by allowing DWR to execute a Struts 2 action and return any validation errors.

This plugin is only available with Struts 2.1.1 or later


  • Expose Struts 2 validations via DWR


To expose Struts 2 validations via DWR, add this to your DWR configuration:



This plugin doesn't support any global settings.


To install, simply include the DWR Plugin in your WEB-INF/lib directory. Ensure that DWR has been correctly installed and configured.

  • No labels

1 Comment

  1. you should use

    <create creator="new" javascript="validator" >
    <param name="class">org.apache.struts2.validators.DWRValidator</param>

    for the dtd of dwr 2.0