The basic Dao Layer Based on Struts2, Spring, and Hibernate that contains multi-condition query pages helps implement the jar package
Common Operations for operating databases are addition, deletion, query, and modification. It is too troublesome and unnecessary to write these operations once every time. It is too painful to Write multi-condition queries and pagination, so I took the time to write a dao help jar and import it! You don't have to worry about my projects anymore!
Reprinted, please specify the source !!!
Instructions for use:
1. For more information about how to use classes, see the document!
2. Paging jsp writing. You only need to package the paging condition in
And copy the pageView. jsp file in pageJsp in the jar file. Import it under the Data Display !!!
3. You need to configure it in the spring configuration file applicationContext. xml:
There are various configuration file samples in the config of the jar package. You can refer
Note:The Form id must be "pageForm"
: Http://download.csdn.net/detail/liang5630/8133017
The test is as follows: