How do I bind an empty string instead of a zero for an int field in Spring MVC?

后端 未结 0 1368
北荒
北荒 2020-12-07 05:49

I\'m using the code below to bind the content that comes from the list to the view. It\'s a list of person objects. This person object has one numeric field(year). Sometimes

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