validate()
Mr Alireza Fattahi wrote:
Hi,
I am using validitor feature. I have turn the
validation OFF on struts_config.xml. How can I
manually do the validation on my action class by
calling validitor objects.
Thanks.
P.S: I want validate my form, not before the action is
executed but after I
Thanks, but i get Nullpointer exception, Can you
please help me with more details.
This is my code:
ValidatorActionForm vl = new ValidatorActionForm();
ActionErrors err = new ActionErrors();
err = vl.validate ( mapping, request );
Is above correct should my action calss extend
I got the answer!
Here is code
DynaActionForm dy = (DynaActionForm) form;
ActionErrors err = new ActionErrors();
err = dy.validate(mapping,request)
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and
Hi,
I am using validitor feature. I have turn the
validation OFF on struts_config.xml. How can I
manually do the validation on my action class by
calling validitor objects.
Thanks.
P.S: I want validate my form, not before the action is
executed but after I have done some logics.
4 matches
Mail list logo