After reading section 5.2 about the org.springframework.validation.Validator interface I created a validator class.

http://static.springsource.org/sprin...alidation.html

I'm new to spring and am using Struts 2 for my MVC. I'm currently moving some validation logic from the Struts 2 web layer to the service layer.

I can't find an article which explains how to set up my validator class to run from the service layer.

Can some one explain or point me to a tutorial on how to configure my validator?

Thanks,

Al