展示表单@postMapping EL1007E: Property or field ‘name‘ cannot be found on null
问题描述目标: 在页面losing.html使用表单接收数据,然后在页面resultForLost.html中展示。@Controller public static class forLostController { @GetMapping("/losing") public String lostingForm(Model model) { model.addAttribute("losing", new lostUser());
原创
2020-10-13 22:23:41 ·
1167 阅读 ·
0 评论