Strtus2 的分页实现(一) 第一,导入js
var pg = new showPages('pg'); pg.pageCount = ${totalPage}; // 定义总页数(必要) pg.printHtml("");