Spring Validation Framework without Annotations
My requirement is to validate C开发者_开发技巧lass fields on the basis of external configuration file i.e xml. I dont want to use annotation as if I want to change some configuration, I will need to change class file which is not desirable. I assume this is implemented using Spring AOP, so there must be some namespace for external configuration in spring context xml file. Any help will be highly appreciated.
Check out the XML configuration section of the Hibernate Validator reference manual. It might work for your requirements.
精彩评论