You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vladimir Levin <ap...@hotmail.com> on 2002/03/30 22:56:37 UTC
validation plugin
I have recently downloaded struts 1.1 beta. It includes a sample
application (developed by David Wintefeldt) which does
form-level validation using a config file. Question: Does this
validation take place before or after the controller servlet
(ActionServlet) calls the setter method on the form bean?
Thanks for any insights,
Vlad
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: validation plugin
Posted by David Winterfeldt <dw...@yahoo.com>.
After the bean is populated from the request. Then
the validate method in the ActionForm is called if
validate is set to 'true' in the Action definition in
the struts-config.xml. Or you can call the validate
method yourself from an Action if you need to.
David
--- Vladimir Levin <ap...@hotmail.com> wrote:
> I have recently downloaded struts 1.1 beta. It
> includes a sample
> application (developed by David Wintefeldt) which
> does
> form-level validation using a config file. Question:
> Does this
> validation take place before or after the controller
> servlet
> (ActionServlet) calls the setter method on the form
> bean?
>
> Thanks for any insights,
>
> Vlad
>
>
>
>
>
>
>
_________________________________________________________________
> Send and receive Hotmail on your mobile device:
> http://mobile.msn.com
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>