|
Struts example source code file (Registration-Registration_save-validation.xml)
The Struts Registration-Registration_save-validation.xml source code<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN" "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"> <validators> <field name="password"> <field-validator type="requiredstring"> <message key="error.password.required"/> </field-validator> <field-validator type="stringlength"> <param name="trim">true <param name="minLength">4 <param name="maxLength">10 <message key="errors.range"/> </field-validator> </field> <field name="password2"> <field-validator type="requiredstring"> <message key="error.password2.required"/> </field-validator> </field> <validator type="expression"> <param name="expression">password eq password2 <message key="error.password.match"/> </validator> </validators> Other Struts examples (source code examples)Here is a short list of links related to this Struts Registration-Registration_save-validation.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.