title: Show binding errors next to each input
body: <p><strong>How do I show validation errors NEXT to each input/component?</strong></p>
  
  <p>Validator:</p>
  
  <pre><code>@Override
  public void validate( final Object obj, final Errors e )
  {
     ValidationUtils.rejectIfEmpty( e, "firstname", "error.firstname.empty" );
  }
  </code></pre>
  
  <p>JSP:</p>
  
  <pre><code>&lt;form:label  path="firstname"&gt;
     &lt;spring:message code="label.firstname" /&gt;
  &lt;/form:label&gt;
  &lt;form:input  path="firstname" /&gt;
  &lt;form:errors path="firstname" /&gt; &lt;!-- THIS DOES NOT WORK! --&gt;
  </code></pre>
  
  <p>I can show all errors by using the following view code:</p>
  
  <pre><code>&lt;spring:hasBindErrors name="contact"&gt;
     &lt;ul&gt;
        &lt;c:forEach var="error" items="${errors.allErrors}"&gt;
           &lt;spring:message code="${error.code}"&gt;&lt;/spring:message&gt;
        &lt;/c:forEach&gt;
     &lt;/ul&gt;
  &lt;/spring:hasBindErrors&gt;
  </code></pre>
  
  <p>Any ideas?</p>