日期:2014-05-17 浏览次数:20737 次
public class CeshiInputActionImpl extends ActionSupport implements CeshiInputAction { private CeshiInput ci; private CeshiInputService ciService; public void input(CeshiInput ci) { this.ciService.save(ci); } public void delete(CeshiInput ci) { this.ciService.delete(ci); } public void edit(CeshiInput ci) { this.ciService.edit(ci); } public String findAll() { //这里怎么往页面输出啊?能得到一个List集合(结果集) return null; }
ActionContext.getContext().put("userlist", list);