|
Struts example source code file (validation.xml)
The Struts validation.xml source code<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.3.0//EN" "http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd"> <form-validation> <!-- This is a minimal Validator form file with a couple of examples. --> <global> <!-- An example global constant <constant> <constant-name>postalCode <constant-value>^\d{5}\d*$ </constant> end example--> </global> <formset> <!-- An example form --> <form name="gangsterForm"> <field property="age" depends="required"> <msg name="required" key="The age is required" resource="false"/> </field> </form> </formset> </form-validation> Other Struts examples (source code examples)Here is a short list of links related to this Struts 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.