THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
This is a basic 1,2,3 guide that anyone can expand upon when they have something useful to add:\
get commons-validator.jar - go to \[http://jakarta.apache.org/ jakarta\] to download the latest version. \\Wiki Markup - put it in your classpath - this is normally WEB-INF/lib/ along with the other jars such as struts.jar
- create action forms to be validated - based on ValidatorForm, or just use DynaActionForms and don't worry about coding classes for them - all that's needed is the form config in struts-config.xml (see below)
- edit your struts-config.xml:
- put the validator plug-in xml into the plug-ins section:
...