You either would need to define at least one action
with validate="true" and another with validate="false"
or perform the call to the ActionForm validates method
yourself in the action. There is an example of using
one action this way in the jdbc example web app that
comes with the Validator.
Ac
CTED]]
> Sent: Thursday, December 06, 2001 5:22 PM
> To: Jakarta Struts (Dev) (E-mail); Jakarta Struts (User) (E-mail)
> Subject: Struts Validator (dumb?) question
>
>
> Hello All,
>
> I'm trying to use the Struts validator but it doesn't seem to
> be working
Hello All,
I'm trying to use the Struts validator but it doesn't seem to be working in
my - relatively common - case.
I have a modify.jsp page that is displayed upon calling
/modifyAction?command=init (using the DispatchAction). No validation must be
performed at this point. The user then enters
3 matches
Mail list logo