Validate Framework Construction Order (1) The first thing to do is to let the Struts framework know the Validator framework. plug-in> (2) Second, a necessary step is to create an actionform bean and make sure the Validator framework is available. (3) Create your own validator Your own Validator is not a difficult thing, just create a Java class that implements this rule.