52ky 发表于 2022-9-19 09:29:20

SSH+pager-taglib-2.0分页例子

Struts2.2.3+Hibernate3.3+Spring3.0分页实例。仅供参考!数据库和jar包等一同不方便上传,各位自行添加!可以直接导入Myeclipse,自己的Myeclipse为8.6版本。
PcbMis\src\com\yaxing\action\AlarmAction.java
PcbMis\src\com\yaxing\action\ViewAction.java
PcbMis\src\com\yaxing\base\BaseDao.java
PcbMis\src\com\yaxing\base\BaseDaoImpl.java
PcbMis\src\com\yaxing\Dao\AlarmDao.java
PcbMis\src\com\yaxing\Dao\RoleDao.java
PcbMis\src\com\yaxing\Dao\UserDao.java
PcbMis\src\com\yaxing\Dao\ViewDao.java
PcbMis\src\com\yaxing\DaoImpl\AlarmDaoImpl.java
PcbMis\src\com\yaxing\DaoImpl\RoleDaoImpl.java
PcbMis\src\com\yaxing\DaoImpl\UserDaoImpl.java
PcbMis\src\com\yaxing\DaoImpl\ViewDaoImpl.java
PcbMis\src\com\yaxing\model\Alarm.hbm.xml
PcbMis\src\com\yaxing\model\Alarm.java
PcbMis\src\com\yaxing\model\Role.java
PcbMis\src\com\yaxing\model\User.java
PcbMis\src\com\yaxing\model\View.hbm.xml
PcbMis\src\com\yaxing\model\View.java
PcbMis\src\com\yaxing\model\ViewId.java
PcbMis\src\com\yaxing\Service\AlarmManager.java
PcbMis\src\com\yaxing\Service\ViewManager.java
PcbMis\src\com\yaxing\ServiceImpl\AlarmManagerImpl.java
PcbMis\src\com\yaxing\ServiceImpl\ViewManagerImpl.java
PcbMis\src\com\yaxing\test\BaseDaoImplTest.java
PcbMis\src\com\yaxing\utils\HibernateSessionUtils.java
PcbMis\src\com\yaxing\utils\HibernateSessionUtilsTest.java
PcbMis\src\com\yaxing\utils\PageModel.java
PcbMis\src\hibernate.cfg.xml
PcbMis\src\struts.xml
PcbMis\WebRoot\META-INF\MANIFEST.MF
.....

(Struts2.2.3 Hibernate3.3 Spring3.0 paging instance. For reference only! It is inconvenient to upload the database and jar package together, you can add it by yourself! You can directly import Myeclipse, and your Myeclipse is version 8.6.
PcbMis\src\com\yaxing\action\AlarmAction.java
PcbMis\src\com\yaxing\action\ViewAction.java
PcbMis\src\com\yaxing\base\BaseDao.java
PcbMis\src\com\yaxing\base\BaseDaoImpl.java
PcbMis\src\com\yaxing\Dao\AlarmDao.java
PcbMis\src\com\yaxing\Dao\RoleDao.java
PcbMis\src\com\yaxing\Dao\UserDao.java
PcbMis\src\com\yaxing\Dao\ViewDao.java
PcbMis\src\com\yaxing\DaoImpl\AlarmDaoImpl.java
PcbMis\src\com\yaxing\DaoImpl\RoleDaoImpl.java
PcbMis\src\com\yaxing\DaoImpl\UserDaoImpl.java
PcbMis\src\com\yaxing\DaoImpl\ViewDaoImpl.java
PcbMis\src\com\yaxing\model\Alarm.hbm.xml
PcbMis\src\com\yaxing\model\Alarm.java
PcbMis\src\com\yaxing\model\Role.java
PcbMis\src\com\yaxing\model\User.java
PcbMis\src\com\yaxing\model\View.hbm.xml
PcbMis\src\com\yaxing\model\View.java
PcbMis\src\com\yaxing\model\ViewId.java
PcbMis\src\com\yaxing\Service\AlarmManager.java
PcbMis\src\com\yaxing\Service\ViewManager.java
PcbMis\src\com\yaxing\ServiceImpl\AlarmManagerImpl.java
PcbMis\src\com\yaxing\ServiceImpl\ViewManagerImpl.java
PcbMis\src\com\yaxing\test\BaseDaoImplTest.java
PcbMis\src\com\yaxing\utils\HibernateSessionUtils.java
PcbMis\src\com\yaxing\utils\HibernateSessionUtilsTest.java
PcbMis\src\com\yaxing\utils\PageModel.java
PcbMis\src\hibernate.cfg.xml
PcbMis\src\struts.xml
PcbMis\WebRoot\META-INF\MANIFEST.MF
.....)




页: [1]
查看完整版本: SSH+pager-taglib-2.0分页例子