One thing not shown here would be plugging in the validator via the
struts-config.
* http://struts.apache.org/struts-action/userGuide/building_view.html#validator
-- HTH, Ted.
http://www.husted.com/poe/
On 1/11/06, Maha Venkataraman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am having some problems
Hi,
I am having some problems in getting struts to
validate my input form. It seems to completely ignore
the validation and starts executing the action.
Here are the relevant files. Any help regarding this
is highly appreciated.
Thanks in advance
Maha
struts-config.xml
--
Somewhere along the line I learned that arg1 has to go with minlength,
and arg2 has to go with maxlength. I could be wrong, but, I have success
using it this way. Here is an example of minlength and maxlength:
minlength
8
Make sure that the files for the validator plug-in do exist in the
specified location. Also, make sure that the ActionForm for employeeForm
extends ValidatorForm or DynaValidatorForm. Also, make sure that
'validate="true"' is set on your action mapping in the struts-config.xml.
-Bill Siggelkow
hi to all,
i am using validator form to validate my fields...but it is not working..
my pulgins used in struts-config.xml file is
validation.xml form is
minlength
2
5 matches
Mail list logo