简体   繁体   English

Spring MVC应用程序的验证框架

[英]Validation framework for spring MVC app

I would like to get some best approaches for implementing validation framework for a Spring Web App. 我想获得一些用于实施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. 由于数据模型定义的限制,我无法使用JSR303或Spring MVC验证。 How does rule engine work with Web App? 规则引擎如何与Web App一起使用? Are there any other validation frameworks which can fit on Spring App? 还有其他适用于Spring App的验证框架吗?

You could use general Spring validation by implementing Spring's Validator . 您可以通过实现Spring的Validator来使用常规Spring验证

Read this other Stack Overflow post for more information : Spring MVC: How to perform validation? 阅读其他Stack Overflow帖子以获取更多信息: Spring MVC:如何执行验证?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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