Ich habe folgendes Formular im Frühjahr, das Fehlermeldungen zeigt. Ich frage mich, wann sollte ich den Frühling benutzen: binden? Was unterscheidet das damit? Ich studierte diese Seiten a, b, aber ich bin immer noch verwirrt.Was ist der Unterschied zwischen spring: bind und form: errors?
<form:form method="post"
action="http://localhost:8080/project/calculator/process"
modelAttribute="keyPadForm">
Name1: <form:input type="text" path="name1" />
<form:errors path="name1" />
<form:form method="post"
action="http://localhost:8080/project/calculator/process"
modelAttribute="keyPadForm">
<spring:bind path="name1">
Name1: <form:input type="text" path="name1" />
<form:errors path="name1" />
</spring:bind>