读书人

ssh+pager taglib分页兑现

发布时间: 2012-09-27 11:11:17 作者: rapoo

ssh+pager taglib分页实现

?? return countHql;
??}else {
???throw new SystemException("无效的HQL查询语句【"+hql+"】");
??}
?}
?
?
}

?

public class PagerModel {
?
?private int total;
?
?private List datas;

?public int getTotal() {
??return total;
?}

?public void setTotal(int total) {
??this.total = total;
?}

?public List getDatas() {
??return datas;
?}

?public void setDatas(List datas) {
??this.datas = datas;
?}

}

读书人网 >软件架构设计

热点推荐