title: Value of text field in jsp form is coming as null
body: <p>I have a jsp page with two textboxes and one submit button. On getting the input value from the form, the value for the second textbox named as "amount" is coming as null.</p>
  
  <p>This is my jsp page -</p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"     "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
  &lt;link rel="stylesheet" type="text/css" media="screen" href="../../css/bootstrap.css" /&gt;  
  &lt;title&gt;CREDIT / DEBIT Funds&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;%
  String context_path=request.getContextPath();
  String navbar_path=context_path+"/pages/navbar.jsp";
  %&gt;
  &lt;%@include file="../navbar.jsp" %&gt;
  
  &lt;div class="panel panel-primary"&gt;
  &lt;div class="panel-heading"&gt; CREDIT / DEBIT Funds&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="panel panel-default"&gt;
  &lt;div class="panel-heading"&gt;
  &lt;h3 class="panel-title"&gt;&lt;/h3&gt;
   &lt;/div&gt;
   &lt;div class="panel-body"&gt;
   &lt;c:if test="${ accountStatus != null}"&gt;
              &lt;div class="btn-primary"&gt;
                 &lt;div id="status" class="label-primary"&gt;${accountStatus}&lt;/div&gt;
              &lt;/div&gt;
  &lt;/c:if&gt;
  &lt;form class="form-horizontal" role="form" method="POST" id="accountFormBean" 
              commandName="accountFormBean" action="/ira_bank/ExternalUsers/credit_debit"&gt;
  &lt;div class="form-group"&gt;
  
  &lt;label class="radio-inline col-sm-4 control-label"&gt;
  &lt;input type="radio" name="CreditDebit" id="CreditDebit" value="Credit"&gt; Credit
  &lt;/label&gt;
  &lt;label class="radio-inline col-sm-4 control-label"&gt;
  &lt;input type="radio" name="CreditDebit" id="CreditDebit" value="Debit"&gt; Debit
   &lt;/label&gt;
  
  &lt;/div&gt;
  
  &lt;div class="form-group"&gt;
  &lt;label for="inputPassword3" class="col-sm-2 control-label"&gt;From/To&lt;/label&gt;
  &lt;div class="col-sm-7 col-md-7"&gt;
    &lt;input type="text" name="accountNumber" class="form-control" id="accountNumber"        placeholder="From/To Account Number"&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;div class="form-group"&gt;
  &lt;label for="inputamount" class="col-sm-2 control-label"&gt;Amount&lt;/label&gt;
  &lt;div class="col-sm-7 col-md-7"&gt;
    &lt;input type="text" name="amount" class="form-control" id="amount" placeholder="Amount"&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="form-group"&gt;
  &lt;div class="col-sm-offset-2 col-sm-7 col-md-offset-2 col-md-7"&gt;
    &lt;button type="submit" class="btn btn-default"&gt;Submit&lt;/button&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;script src="../../js/jquery-1.10.2.js"&gt;&lt;/script&gt;
  &lt;script src="../../js/bootstrap.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And this is the formbean from where i am getting the values -</p>
  
  <pre><code>public class AccountFormBean {
  
  private String amount;
  private String accountNumber;
  private String CreditDebit; 
  
  public void setAccountNumber(String accountNumber){
      this.accountNumber = accountNumber;
  }
  
  public String getAccountNumber() {
      return accountNumber;
  }
  
  public void setbalance(String amount) {
      this.amount = amount;
  }
  
  public String getbalance() {
      return amount;
  }
  
  public void setCreditDebit(String CreditDebit) {
          this.CreditDebit = CreditDebit;
      }
  
  public String getCreditDebit() {
      return CreditDebit;
  }    
  
  }
  </code></pre>
  
  <p>The value for account number is coming fine but it is coming as null for amount.</p>