Spring MVC form validation not working

前端 未结 6 2042
日久生厌
日久生厌 2021-01-06 00:27

I am using Spring 4. My form contains the following variables:

@NotNull
@Email
private String email;
@NotNull
private String firstName;
@NotNull
private Stri         


        
6条回答
  •  醉话见心
    2021-01-06 01:05

    I faced the same problem. I resolved by adding below statement in dispatcher-serlvet.xml file.

    
    

提交回复
热议问题