【正文】
........................................................ 28 部分算法設(shè)計(jì) ................................................................................................... 29 接口 ................................................................................................................. 30 子功能模塊的測(cè)試 ............................................................................................ 31 6 模塊二系統(tǒng)模塊 .......................................................................................................... 34 功能模塊一 部門管理模塊實(shí)現(xiàn) .......................................................................... 34 Strusts 的配置 ..................................................................................... 34 DepartmentAction繼承 BaseAction ............................................... 35 對(duì)應(yīng)類之間的調(diào)用 ................................................................................. 36 部分算法設(shè)計(jì) ........................................................................................ 36 接口 ...................................................................................................... 38 子功能模 塊的測(cè)試 ................................................................................. 39 功能模塊二角色 管理模塊實(shí)現(xiàn) .......................................................................... 41 Strusts 的配置 ..................................................................................... 41 RoleAction和 AclAction繼承 BaseAction..................................... 43 對(duì)應(yīng)類之間的調(diào)用 ................................................................................. 43 部分算法設(shè)計(jì) ........................................................................................ 46 接口 ...................................................................................................... 48 子功能模塊的測(cè)試 ................................................................................. 49 功能模塊三用戶 管理模塊實(shí)現(xiàn) .......................................................................... 52 Strusts 的配置 ..................................................................................... 52 UserAction 繼承 BaseAction......................................................... 53 13 對(duì)應(yīng)類之間的調(diào)用 ................................................................................. 54 部分算法設(shè)計(jì) ........................................................................................ 55 接口 ...................................................................................................... 58 子功能模塊的測(cè)試 ................................................................................. 58 7 模塊七報(bào)表管 理模塊 ................................................................................................... 61 功能模塊一員工報(bào)表 管理模塊實(shí)現(xiàn) ................................................................... 61 Strusts 的配置 ..................................................................................... 61 PersonReportAction 繼承 BaseAction................................................... 62 對(duì)應(yīng)類之間的調(diào)用 ................................................................................. 63 部分算法設(shè)計(jì) ........................................................................................ 63 接口 ...................................................................................................... 67 子功能模塊的測(cè)試 ................................................................................. 67 功能模塊一工資報(bào)表 管理模塊實(shí)現(xiàn) ................................................................... 69 Strusts 的配置 ..................................................................................... 69 PersonReportAction 繼承 BaseAction................................................... 70 對(duì)應(yīng)類之間的調(diào)用 ................................................................................. 71 部分算法設(shè)計(jì) ........................................................................................ 71 接口 ...................................................................................................... 72 子功能模塊的測(cè)試 ................................................................................. 73 8 權(quán)限控制技術(shù) : ........................................................................................................... 75 9 技術(shù)控制 (參考網(wǎng)址: .............................. 78 10 參考文獻(xiàn) :................................................................................................................. 81 14 1 緒論 背景 本次開發(fā)是由安博教育和學(xué)校發(fā)起,學(xué)生自主選題的一次畢業(yè)設(shè)計(jì)。 Abstract: In the salary management system, involving the most is the data additions and deletions, of course in the system really is, for these operations to be controlled in strict access, the use of Struts2 + hibernate + spring to achieve a simple CRUD operation. Between the MVC and the three layer architecture we choose three layers architecture, and of course they were essentially the same. 11 Here uses three layer structures, namely the data access layer, business logic layer, presentation layer. This is conducive to specialization and standardization. To increase the reusability of the code. But because of the business can not directly access the database must be pleted through the middle layer. Reflect the time interval is replaced by the success of an operation interface. I mainly introduced here: the login module, system management module, statements management module, log out, solve Chinese garbled, how to realize the authority distribution of CRUD in Strusts2. Key words: Database。在 mvc與三層架構(gòu)之間我們選擇了三層架構(gòu),當(dāng)然他們本質(zhì)相同。 內(nèi)容統(tǒng)一楷體小 4號(hào), ,由教師本人手寫簽名 ) 評(píng)閱教師評(píng)分 (百分制 ): 評(píng)閱 教師 (簽字 ): 5 全日制本科生畢業(yè)設(shè)計(jì)成績(jī)?cè)u(píng)定表 姓名 劉建濤 學(xué)號(hào) 20xx051