Problem Description:
When a page uses tags <form:form> commits, it appears [Springmvc]javax.servlet.jsp.jsptagexception:neither Bindingresult nor plain target An object for Bean exception.
Cause Analysis:
The,<form:form> tag has a default property commandname when the page is rendered, and its value defaults to "command". In fact, this command is the corresponding controller in the JavaBean. But the corresponding JavaBean name in my controller's method is not the command, but the user or account, and so on. So you want to display the name of the JavaBean whose CommandName value is "user" or you are using.
<commandName= "user" action= " method=" Get "> </form:form>
Workaround:
Familiarity with the rules of spring MVC or other tag libraries makes it easier to interact with the page and controller. (In fact, whether you use the spring tag or the jstl, the result of rendering is HTML, and there is nothing beyond the HTML category.) )
[Springmvc]javax.servlet.jsp.jsptagexception:neither Bindingresult nor plain target object for bean