• notice
  • Congratulations on the launch of the Sought Tech site

SpringMVC JSR 303 check and format conversion is invalid

Problem Description:

    JSR 303 annotations are used

   @Email @Valid @NotEmpty (massge="not empty") and other annotations

    But when executed, it is not called. The reason is: @valid is not enabled

    <mvc:annotation-driven/>

    The problem is solved from: http://www.cnblogs.com/yangzhilong/p/3724967.html


Tags

Technical otaku

Sought technology together

Related Topic

0 Comments

Leave a Reply

+