struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: DynaValidatorActionForm (using Apache Commons Validator project)
Date Thu, 21 Mar 2013 21:43:30 GMT
Struts looks for the Validator configuration based on a key. The key is
selected by the form. The key can either be the URI
(DynaValidatorActionForm) or the Form Name (DynaValidatorForm).

Your config file is obviously using bean names:
<form name="loginFormBean">

So you need the correct Form superclass to select by bean name. Make your
form a subclass of DynaValidatorForm.

Paul

On Thu, Mar 21, 2013 at 4:38 PM, J.V. <jvsrvcs@gmail.com> wrote:

> I am not sure I understand.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message