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
0 Comments