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.

Validator validator = StrutsValidatorUtil.initValidator(mapping.getPath(),
                                                                this,
                                                                application,
request,
                                                                errors,
page);

i found the above javadoc and code that in DynaValidatorActionForm which i
think it should be the action element's 'name' attribute from the
struts-config.xml to form element's name attribute in the validation.xml.
Can anyone confirm me on that or tell me why otherwise?

Thanks so much!



See-Yam Lim

Reply via email to