org.apache.struts.validator
public class DynaValidatorActionForm extends DynaValidatorForm implements DynaBean, Serializable
This class extends DynaValidatorForm and provides basic field validation based on an XML file. The key passed into the validator is the action element's 'path' attribute from the struts-config.xml which should match the form element's name attribute in the validation.xml.
ValidatorPlugin
definition in struts-config.xml
for validation rules.Since: Struts 1.1
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
Method Summary | |
---|---|
String | getValidationKey(ActionMapping mapping, HttpServletRequest request)
Returns the Validation key.
|
Parameters: mapping The mapping used to select this instance request The servlet request we are processing
Returns: validation key - the action element's 'path' attribute in this case