The answer is 42. If you explain what the problem is, the answer might vary.
musachy 2009/3/31 Junhua gao <junhua...@yahoo.com.cn>: > > 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 name="success">/test.jsp</result> > </action> > > > > jsp file > > <s:form id="sorttierform" action="SortTiersAction"> > <select name="sorttierID" id="sorttierSelectID" size="12"/ width="135"><br> > <s:textfield name="sorttierName" id="sorttierName" label="Name:"/><br> > > <s:textfield name="sorttierRate" id="sorttierRate" label="Rate:"/><br> > <s:textfield name="sorttierRatecase" id="sorttierRatecase" label="Rate > Case:"/> > <s:checkbox name="sorttierActive" id="sorttierActive" label="Active?"/> > <s:submit value="Save"/> > </s:form> > > > > ___________________________________________________________ > 好玩贺卡等你发,邮箱贺卡全新上线! > http://card.mail.cn.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org