I want to know if I can use the commons-validation framework (validation.xml) and also the validator method (in Validator Form) both simultaneously. What I need is a situation where the basic validations pertaining to empty fields and the like are done in the validation.xml and business logic based validation are done in validator method. Currently I am doing the buisiness validation in the Action but wanted to make it neater. Thanks.
I have already tried that and only the validation.xml gets invoked. Struts bypasses the over-ridden validation method in form. Thats why I had to actually write the business validation in Action. I was wondering if there was some other way that can get the job done.