JSR 303 Bean Validation + Javascript Client-Side Validation

后端 未结 7 1123
感情败类
感情败类 2021-01-30 20:48

What is the best way to perform client-side form validation using Javascript (with minimal code duplication) when using JSR 303 bean validation on the server side? I\'m currentl

7条回答
  •  隐瞒了意图╮
    2021-01-30 21:22

    Here is an open source alternative to JSR-303.

    This solution can perform all validation of the request message, but no hassle coding is required.

    https://github.com/ckpoint/CheckPoint

    With Check-Point, all validation is possible without further code, just by changing the annotation of the Controller method.

    After that, all validation settings can be easily made in Admin Page.

    I think this video can help your understand. https://youtu.be/I1aEIztXlhE

    Check-Point Admin-Page Setting Screen

提交回复
热议问题