title: Data get from ajax null in jsp
body: <p>I am able to get the data from ajax using system.out.println. However, I am unable to pass the data to servlet. It shows null always. </p>
  
  <p>Here is my jQuery:</p>
  
  <pre><code>      function expressCheck(number) {
              var Self=[];
              for(i=1;i&lt;=&lt;%=itemCodeList.size()%&gt;;i++) Self[i-1] = document.getElementById("qtyGuestNumber_" + i).value;
                  $.ajax({
                      url: "ViewCategories.jsp",
                      data: {"expressData" : Self[number-1]}
                  });
          };
  </code></pre>