异常:Neither BindingResult nor plain target object for bean name 'command' available as request attribute
Neither BindingResult nor plain target object for bean name 'command' available as request attribute 这个异常引起的原因是
modelAttribute这个单词写错了,滑稽,吐槽一些这种应该错误应该在编译期报错的啊。
<form:form action="${pageContext.request.contextPath}/personnel/addDutyInfo" method="POST" modelAttribute="dutyInfo">