页面上jQuery需要把一个复杂类型的javascript数组对象作为参数传到Struts2 action,但是他们的默认格式不匹配导致action无法正确获得参数。
Struts2 action
class SomeAction{
List<SomeBean> list;
//getter setter
//execute()
}
class SomeBean{
int id;
//getter setter
}
参数为以下格式(OGNL格式)时,Stru
相关下载链接:
//download.csdn.net/download/lerluc/3406932?utm_source=bbsseo