title: 400 Bad request on Spring ajax call
body: <p>I'm getting an error in spring ajax call. I know it's some syntax error but cant find what's it. can someone help?</p>
  
  <p>script: </p>
  
  <pre><code>$.ajax({
          type : 'POST',
          contentType : 'application/json; charset=utf-8',
          url: 'saveCommittedAmount.html?investmentId='+investmentId+ '&amp;=transactionData' +transactionData + '&amp;=investorId' +investorId + '&amp;committedAmt='+committedAmt,
          success: function(response) {
              return false;
          }
      });
  </code></pre>
  
  <p>Spring Controller: </p>
  
  <pre><code>@RequestMapping(value = "/saveCommittedAmount", method = RequestMethod.POST)
      @ResponseBody
      public String saveInvestmentValue(@RequestParam("investmentId") String investmentId,
              @RequestParam("transactionDate") String transactionDate,@RequestParam("investorId") String investorId,
              @RequestParam("committedAmt") String committedAmt) throws ParseException {
          Transaction transaction = new Transaction();
  
          Date tDate = (Date) new SimpleDateFormat("MM/dd/yyyy").parse(transactionDate.trim());
  
          transaction.setCommittedAmount(BigDecimal.valueOf(Double.valueOf(committedAmt)));
          transaction.setUserId(Integer.parseInt(investorId));
          System.out.println("committedAmt" + "committedAmt");
          transaction.setTransActDate(tDate);
          transaction.setInvestmentId(Integer.parseInt(investmentId));
          assetService.updateTransaction(transaction);
          return Constants.RESPONSE_SUCCESS;
      }
  </code></pre>