java - Data get from ajax null in jsp -


i able data ajax using system.out.println. however, unable pass data servlet. shows null always.

here jquery:

      function expresscheck(number) {             var self=[];             for(i=1;i<=<%=itemcodelist.size()%>;i++) self[i-1] = document.getelementbyid("qtyguestnumber_" + i).value;                 $.ajax({                     url: "viewcategories.jsp",                     data: {"expressdata" : self[number-1]}                 });         }; 


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -