Action里返回参数的方法:
public String selcetUserInfo() throws Exception {
                  String second = "第2个参数";
JSONObject jsonObj = new JSONObject(json);
String name = jsonObj.getString("name");
int num = Integer.parseInt(jsonObj.getString("num"));
result = this.selcetUserInfo.selcetUserInfo(name, num);
getResponse().addHeader("Pragma", "no-cache");
getResponse().setCharacterEncoding("utf-8");
JSONArray jsonArray2 = JSONArray.fromObject(result);
getResponse().getWriter().write(jsonArray2.toString());
return null;
}
JS AJAX取返回参数方法为:
                    function onLoad() {
                                $.post("sousuo.action", {json:strUser}, callbackFun, "json");
              function callbackFun(json) {
              alert("json");
              } 

                    }
目前只能返回对象名为jsonArray2的LIST对象,如果想同时返回jsonArray2以及对象名为second的字符串到onLoad方法里需要怎么做?