title: Issue with getting value from form in Java - Apache Tomcat
body: <p>Hey guys I have this form that is sent over to a roaster that will get the names that were entered into the form fields in a Java project - I am using a Apache Tomcat v7.0 to run it(servlet) For some reason though when I am in the roaster file it tells me that the methods defined in the form file do not exist.</p>
  
  <p>CODE for form:</p>
  
  <pre><code>&lt;form action="Band_roster" method="post"&gt;
    &lt;table cellspacing="5" border="0"&gt;
      &lt;tr&gt;
        &lt;td align="right"&gt;Band 1:&lt;/td&gt;
        &lt;td&gt;&lt;input type="text" name=Band1.setbname()&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td align="right"&gt;Band 2:&lt;/td&gt;
        &lt;td&gt;&lt;input type="text" name=Band2.setbname()&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td align="right"&gt;Band 3:&lt;/td&gt;
        &lt;td&gt;&lt;input type="text" name=Band3.setbname()&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td align="right"&gt;Band 4:&lt;/td&gt;
        &lt;td&gt;&lt;input type="text" name=Band4.setbname()&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td align="right"&gt;Band 5:&lt;/td&gt;
        &lt;td&gt;&lt;input type="text" name=Band5.setbname()&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td align="right"&gt;Band 6:&lt;/td&gt;
        &lt;td&gt;&lt;input type="text" name=Band6.setbname()&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td align="right"&gt;Band 7:&lt;/td&gt;
        &lt;td&gt;&lt;input type="text" name=Band7.setbname()&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td align="right"&gt;Band 8:&lt;/td&gt;
        &lt;td&gt;&lt;input type="text" name=Bandb.setbname()&gt;&lt;/td&gt;
      &lt;/tr&gt;
  
      &lt;tr&gt;
        &lt;td&gt;&lt;/td&gt;
        &lt;td&gt;&lt;br&gt;&lt;input type="submit" value="Submit"&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/table&gt;
    &lt;/form&gt;
  </code></pre>
  
  <p>CODE for roaster: </p>
  
  <pre><code>&lt;table cellspacing="5" cellpadding="5" border="1"&gt;
          &lt;tr&gt;
              &lt;td align="right"&gt;Band1:&lt;/td&gt;
              &lt;td&gt;&lt;%= Band1.getBname() %&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td align="right"&gt;Band2:&lt;/td&gt;
              &lt;td&gt;&lt;%= Band2.getBname() %&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td align="right"&gt;Band3:&lt;/td&gt;
              &lt;td&gt;&lt;%= Band3.getBname() %&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td align="right"&gt;Band4:&lt;/td&gt;
              &lt;td&gt;&lt;%= Band4.getBname() %&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td align="right"&gt;Band5:&lt;/td&gt;
              &lt;td&gt;&lt;%= Band5.getBname() %&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td align="right"&gt;Band6:&lt;/td&gt;
              &lt;td&gt;&lt;%= Band6.getBname() %&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td align="right"&gt;Band7:&lt;/td&gt;
              &lt;td&gt;&lt;%= Band7.getBname() %&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td align="right"&gt;Band8:&lt;/td&gt;
              &lt;td&gt;&lt;%= Band8.getBname() %&gt;&lt;/td&gt;
          &lt;/tr&gt;
  
      &lt;/table&gt;
  
      &lt;p&gt;Ready to Rock&lt;/p&gt;
  
      &lt;form action="Band.jsp" method="post"&gt;
          &lt;input type="submit" value="submit"&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>the roaster file is the one that I am getting the errors - Band8.getBname() tells me it cannot be resolved, same with every Band'number' in the tr's.  </p>
  
  <p>Let me know if this makes sense and thanks for the help!</p>