Does struts 2 accept “POST” method to send data from javascript to an Action server?
问题 [I tried to simplifie the code to better understand the questions]When I tried to send data from a web side client to an ActionClass in Struts 2 like: jQuery("#bedata").click(function(){ //Function for button "bedata" var postData = "SOME DATA TO SEND" //Sendin data: $.ajax({ type: "POST", //Method to send the data. I would need "post" method as better option. url: "GuardaFila.action", //Action called to data treatament data : { jgGridData: postData, //PARAMETER jgGrdData with variable