Hello,
I am using struts2 and Jquery now.
And who can please tell me how to access the sorttiervo from the 'data'
$.getJSON('SortTiersAction',params,function(data)(){}
data.sorttiervo? or other ways?
public class SortTiersAction extends BaseActionS2 implements ModelDriven {
SortTierService sorttierservice = new SortTierService();
private SortTierVO sorttiervo = new SortTierVO();
public void setModel(SortTierVO sorttiervo) {
this.sorttiervo = sorttiervo;
}
public Object getModel() {
return this.sorttiervo;
}
public String execute() throws DefaultException {
//do someting here;
}
in struts.xml file
<action name="SortTierQueryAction"
class="com.qic.system.action.SortTiersAction">
<result type="json">
<param name="noCache">true</param>
</result>
</action>
___________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]