简体   繁体   中英

Validation framework for spring MVC app

I would like to get some best approaches for implementing validation framework for a Spring Web App. My goal is to reduce script validation , at the same time implementing real time validation. I cant use the JSR303 or Spring MVC validation because of the data models definition constraints. How does rule engine work with Web App? Are there any other validation frameworks which can fit on Spring App?

You could use general Spring validation by implementing Spring's Validator .

Read this other Stack Overflow post for more information : Spring MVC: How to perform validation?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM