3.form.jsp Controller里必须使用@ModelAttribute("command")来说明绑定对象名(注1),Spring默认的绑定对象名为command,如果Controller使用了"command"为绑定对象名,则form标签中可以省略commandName="command"。(如示例代码)Controller里必须使用@ModelAttribute("command 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交