JQuery发送ajax请求不能用数组作为参数,否则会接收不到参数, 一.js代码如下: $('#delete-button').click(function(){ var selectedMembers = document.getElementsByName('selectedMembers'); var cwIds = new Array(); //定义数组 for(var i=0;i<selectedMembers.length;i++){
Action类代码: package com.example.action; public class JsonAction { private String name; private int id; public String test() { name = "hello world"; id = 100; return "success"; } public String getName() { return name; } public void setNa