title: Java Spring form tag question
body: <p>I am using JSPs, and this is my contacts.jsp</p>
  
  <pre><code>&lt;%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Spring 3.0 MVC series: Contact manager&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h2&gt;Contact Manager&lt;/h2&gt;
  &lt;form:form method="post" action="addContact.html"&gt;
  
      &lt;table&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;form:label path="firstName"&gt;First Name&lt;/form:label&gt;&lt;/td&gt; // LABEL
              &lt;td&gt;&lt;form:input path="firstName" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;form:label path="lastName"&gt;Last Name&lt;/form:label&gt;&lt;/td&gt;
              &lt;td&gt;&lt;form:input path="lastName" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;form:label path="lastName"&gt;Email&lt;/form:label&gt;&lt;/td&gt;
              &lt;td&gt;&lt;form:input path="email" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;form:label path="lastName"&gt;Telephone&lt;/form:label&gt;&lt;/td&gt;
              &lt;td&gt;&lt;form:input path="telephone" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td colspan="2"&gt;
                  &lt;input type="submit" value="Add Contact"/&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;  
  
  &lt;/form:form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>My questions is, that when i change <code>form:label path="firstName"</code> into <code>form:label path="firstname"</code>, why tomcat starts throwing errors? Doesn't the model only need the input path, since the value inside input path, is the value it will use?</p>
  
  <p>EDIT:</p>
  
  <p><strong>should i even use the <code>form:label tag</code> , why is it used?</strong></p>