发现springmodules validation的问题

the solution for the error "does not support command class" error is that your validator xml form name does not match the class name (w/lower case 1st letter)
My redux redux is:
for a domain/entity class named SomeDumbClass:
? The commandClass in the Spring servlet config is com.foo.bar.SomeDumbClass
? The form name in the validation file must be someDumbClass
? The form name in the tag in the JSP must be someDumbClass
? The name in the HTML form tag must be someDumbClassForm and the onsubmit attribute of the HTML form tag must be 'return validateSomeDumbClass (this)'
? Field names in the validation file will match the generated HTML names of the inputs

Thanks again Matt!

来自http://jroller.com/page/raible?anchor=using_commons_validator_with_spring

竟然用这种奇怪方法!

你可能感兴趣的:(发现springmodules validation的问题)