<form action="/Map01/od/update01.action" method="post" >
<s:iterator value="list" status="status" >
<s:radio name="agree[%{#status.index}]" list='#{1:"同意",2:"不同意"}' theme="simple" />
怎么在后台action中获取 radio对应的值,
在action中用了
private List agree=new ArrayList();
get,set方法,可是不行,数组也不行,
求大仙们帮忙?
有代码的分享一下。
<s:iterator value="list" status="status" >
<s:radio name="agree[%{#status.index}]" list='#{1:"同意",2:"不同意"}' theme="simple" />
怎么在后台action中获取 radio对应的值,
在action中用了
private List agree=new ArrayList();
get,set方法,可是不行,数组也不行,
求大仙们帮忙?
有代码的分享一下。