我想获得一些为Spring Web App实现验证框架的最佳方法。我的目标是减少脚本验证,同时实现实时验证。由于数据模型定义的约束,我不能使用JSR303或Spring MVC验证。规则引擎如何与Web应用程序协同工作?有没有其他适合Spring App的验证框架?
发布于 2013-02-12 04:52:16
您可以通过实现Spring's Validator来使用general Spring validation。
有关更多信息,请阅读另一篇堆栈溢出帖子:Spring MVC: How to perform validation?
https://stackoverflow.com/questions/14819640
复制相似问题