public int curPage ; //當前是第幾頁
public int maxPage ; //一共有多少頁
public int maxRowCount ; //一共有多少行
public int rowsPerPage ; //每頁有多少行
public yourDataType yourdata ;//裝載每頁的數據
關于每頁所要顯示的"實體數據"的載體,其實現方式多種多樣,比如說在IBM電子商務系統MPE中是以bean的形式,這是一種面向對象的實現,比較的簡略的實現可用java.util.Vector等,為了避免分散對核心問題的的注意力,這里用youData 閱讀全文