J4 ›› 2013, Vol. 26 ›› Issue (4): 60-64.doi: 10.3976/j.issn.1002-4026.2013.04.014

• Article • Previous Articles     Next Articles

Struts2 framework based design and realization of a web pagination query model

CUI Xing-Chen, ZHANG Ming-Guang   

  1. Center for Educational Technology, Shandong Radio &[KG*2]TV University, Jinan 250014, China
  • Received:2012-10-24 Online:2013-08-20 Published:2013-08-20

Abstract:

      We implement a web pagination query model based on MVC pattern and Struts2 framework for the issue of pagination query in Java EE based web application system. We achieve portability of different database by defining an abstract class DAO in business logic layer based on MVC layer structure design. JSP and Struts2 tags are applied to view layer to achieve the separation of pagination navigation display from its logic. Practical application shows that the page component model has good portability and good decoupling performance, easy to be maintained.

Key words: webbased database pagination, Struts2 framework, MVC

CLC Number: 

  • TP311