Do you have validate="true" in the action mapping in struts-config?


----- Original Message -----
From: "Sriram Hariharan" <[EMAIL PROTECTED]>


> Hi, I'm facing problems with validation in Struts. I'm not able to
validate
> the fields username (required) and password (required,mask) even after the
> following steps.
>
> 1. Updated struts-config.xml with 'message-resources' and 'plugin'.
> 2. Added Validator Jar and version 1.2 of the Jakarta Regular Expression
> Package.
> 3. Made modifications to web.xml file to load the ValidatorServlet
> 4. Extended ValidatorForm instead of ActionForm.
> 5. Created file validation.xml.
> 7. Updated Applicationresources.properties file.
> 6. The entire application gets deployed in jBoss-3.0.3 without any errors.
>
> Still the form fields doenst get validated. Am I missing something?
Someone
> please let me know as I'm new to it.
>
> Thanks, SRIRAM.
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to