How to validate only when content is filled in Spring MVC?

后端 未结 0 798
清歌不尽
清歌不尽 2020-12-08 09:55

I have a class with several attributes. One is month and another is year. It is not mandatory to fill those fields. Leaving both blank should be accepted. But in case just o

相关标签:
回答
  • 消灭零回复
提交回复
热议问题