package com.ph.action; import java.util.List; import com.opensymphony.xwork2.ActionSupport; import com.ph.dao.PageControl; import com.ph.entity.Shangpin; import com.ph.entity.Xinwen; import com.ph.service.TestIservice; public class TestAction extends ActionSupport{ private TestIservice tser; private List<Xinwen> test; private PageControl page; private int curpage; public String query()throws Exception{ if(page == null) { page = new PageControl(); } page.setInt_num(10); page.init(curpage, tser.queryInfoNum()); test = tser.queryAllInfo(page); return "return_query"; } /* * Setter and Getter */ public TestIservice getTser() { return tser; } public void setTser(TestIservice tser) { this.tser = tser; } public List<Xinwen> getTest() { return test; } public void setTest(List<Xinwen> test) { this.test = test; } public PageControl getPage() { return page; } public void setPage(PageControl page) { this.page = page; } public int getCurpage() { return curpage; } public void setCurpage(int curpage) { this.curpage = curpage; } }

彩色天空 LV5
2023年4月8日
linshibo LV5
2023年3月1日
wanglinddad LV55
2022年5月9日
and123456 LV11
2022年2月19日
gugubird LV1
2022年1月10日
480446897a LV2
2021年12月4日
漫长的白日梦 LV8
2021年12月2日
18219194576 LV7
2021年11月10日
MyPary LV6
2021年11月10日
Start1 LV15
2021年10月28日