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>