Struts Users Mailing List
> Date: Wed, 27 Feb 2008 09:48:57 -0500
> To: Struts Users Mailing List
> Subject: Re: Struts 2 Custom Validation
>
> You mean a form with a password field and a confirm password field and
> validation that they match?
>
> @FieldExpressionValidator
You mean a form with a password field and a confirm password field and
validation that they match?
@FieldExpressionValidator(expression = "confirmPwd.equals(pwd)", message =
"Passwords do not match.")
In this case I have 2 fields, one named pwd and one named confirmPwd. I put
this validation on t
2 matches
Mail list logo