i am making simple login page and trying to validate it using struts ValidatorForm but its not working. But same code worked for DynaValidatorForm. Not able to understand what's problem.
It is not showing any error when i click login button.
here is my code.
Please refer this Link.
In validate method you need to use getter to get the filed on which you would like to put the validation.
Refer the link and let us know if you still find difficulty in validating the fields.