1. jsonObject = new JSONObject();
2.jsonArray = JSONArray.fromObject(empList);
3.jsonObject.put("empList", jsonArray);
4.out.print(jsonObject.get("empList"));
struts2 + ext 执行到第2步的时候不报异常 ,但是用调适 就跑到下面图片里的那个类去了 谁知道是什么问题吗? 难大是hibernate 的映射关系吗?
[img]http://dl.iteye.com/upload/attachment/156488/f03bad87-84f8-39bc-953a-6ad363915064.png[/img]