不知何故,我错过了最明显的解决方法。我专注于属性,却忘记了只能修改基础Map。
// Remove the form object from the model map. model.remove("form");
如Biju建议的那样,省略@ModelAttribute,然后删除sourceBundleRequest对象,可能会更有效率。我怀疑@ModelAttribute有一些额外的开销。
欢迎分享,转载请注明来源:内存溢出
不知何故,我错过了最明显的解决方法。我专注于属性,却忘记了只能修改基础Map。
// Remove the form object from the model map. model.remove("form");
如Biju建议的那样,省略@ModelAttribute,然后删除sourceBundleRequest对象,可能会更有效率。我怀疑@ModelAttribute有一些额外的开销。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)