Study and Implementation of Web Application Based on Struts

Author
TianMiaoMiao
Advisor
YaoYiPing
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP393.092 Web browser
Degree
Master's thesis
Year
2005
Downloads
484
Citations
15

Request the full text

Abstract

MVC (Model-View-Controller, Model - View - Controller) model is proposed with the development of the Smalltalk language, it is a well-known user interface design architecture. MVC pattern is not only to achieve a separation of function module and display module, but also to improve the maintainability of the application system, scalability, portability, and reusability of components. Struts is one of the MVC pattern application framework. Struts constituted by a series of framework classes, auxiliary classes and custom JSP tag library, its core is a flexible control layer, Java Servlets, JavaBeans, XML and other standards-based technology. Struts Web application development interface and business logic separation, favor web designers and programmers, the division of labor, improve code reusability and flexibility, and ease of component development. The thesis focuses on the efficient development of the information systems needs of large enterprises, in-depth study of 2000 and quickly popular Struts and Struts-based enterprise information system technology. The main work and innovation, including: MVC pattern and its key technology, in-depth study and comparative analysis of several specific application framework based on MVC pattern-Struts, JATO, JSF and the WAF summed up, in accordance with the practice of project development Ji hair must be noted that some of the issues in the choice of the MVC pattern. Of the Struts technical depth analysis based on a series of client request processing program: exit, including access to the database design, user authentication, authorization and security, log management and realization, and also the opposite The surface the various migration between data transfer may occur during, as well as a variety of errors may occur conducted a detailed study made to ensure that the data transfer to a valid solution. One hand to reduce the amount of project development tasks; effectively enhance the flexibility of the system, scalability, easy to maintain and upgrade. 3 Based on the analysis and synthesis of the causes of Chinese characters garbled, designed one for enterprise-level Web systems development Struts international solution to the problem. The program proposed to help solve prone to Web development: Chinese data from the database to the JSP file become?? \and other issues. Struts framework based enterprise information system designed and implemented on the basis of the results of the above study, The system has been successfully applied to a power company in Hunan Province, to achieve the desired design goals, and made good use of effects.

Table of contents

List of Figures 7-8 table directory 8-9 summary 9-10 ABSTRACT 10-11 first chapter 11-16 the § 1.1 subject background 11-14 1.1.1 subject sources 11 1.1.2 Struts technology development 11-12 1.1.3 Struts research status quo 12-13 1.1.4 Struts future 13-14 § 1.2 the research objectives and significance 14 the § 1.3 of this paper work and innovation 14-15 the § 1.4 papers structures 15-16 MVC pattern research 16-25 § 2.1 preliminary understanding of MVC 16-18 2.1.1 MVC evolution 16-17 2.1.2 Mode11 17-18 2.1.3 Mode12 18 § 2.2 in-depth understanding of MVC 18-21 2.2.1 MVC design pattern 18-20 2.2.2 MVC's implementation 20 2.2.3 MVC advantage of 20-21 2.2.4 MVC insufficient 21 the § 2.3 MVC application development framework 21-22 2.3.1 Struts application framework 21-22 2.3.2 JATO application framework 22 2.3.3 JSF application framework 22 2.3.4 WAF application framework 22 § 2.4 MVC mode application of key technologies 22-24 2.4.1 Java Servlet 22-23 2.4.2 JSP 23-24 § 2.5 Summary 24-25 Chapter Struts technical analysis and research 25-38 § 3.1 MVC concept mapping to the Struts components 25-27 3.1.1 model Model 26 3.1.2 view View 26 3.1.3 Controller Controller 26-27 § 3.2 Struts components 27-30 3.2.1 Struts configuration file 27-28 3.2.2 ActionServlet class 28 3.2.3 ActionMapping class 28-29 3.2.4 ActionMappings 29 3.2.5 Action class 29 3.2.6 ActionForm class 29 3.2.7 ActionForword class 29 3.2.8 Error class 29-30 the § 3.3 Struts control flow 30-33 3.3.1 General Plan 30-31 3.3.2 details 31-33 the § 3.4 Struts effectiveness analysis 33-34 § 3.5 Struts advantages and disadvantages 34-37 3.5.1 Struts advantages 34-35 3.5.2 Struts shortcomings 35-37 § 3.6 Summary 37-38 Chapter based Struts framework enterprise information systems design and realization 38-59 the § 4.1 System Overview 38-39 4.1.1 Project Background 38 4.1.2 overall objective 38-39 4.1.3 construction principle 39 the § 4.2 Business Analysis 39-40 4.2.1 Information collected 39-40 4.2.2 organize statistical analysis 40 4.2.3 released 40 the § 4.3 system structures 40-41 the § 4.4 systems design and realization 41-58 4.4.1 basic concepts and configuration file 42-43 4.4.2 application initialization 43-44 4.4.3 client request processing 44-48 4.4.4 database access design 48-50 4.4.5 screen data transfer 50-54 4.4.6 user authentication and authorization 54-55 4.4.7 log management 55-56 4.4.8 dictionary access 56-57 4.4.9 security exit 57-58 § 4.5 of Summary 58-59 the Struts international Research and Implementation 59-66 § 5.1 from ASC Ⅱ to Unicode (UTF-8) 59-60 § 5.2 Chinese characters garbled reasons and solutions 60-62 5.2.1 Chinese characters into a question mark 60-61 5.2.2 part of Chinese characters can not be displayed properly 61-62 5.2.3 garbage problem 62 5.2.4 to read and write database garbage problem 62 the § 5.3 Struts international Design and Implementation 62-65 § 5.4 Summary 65-66 Chapter VI Conclusion 66-68 the § 6.1 thesis work summarizes 66 the § 6.2 practice experience 66-67 § 6.3 Next working 67-68 Acknowledgements 68-69 studied papers published by the Master of the period 69-70 the References 70-72 Appendix 72-79 the the Appendix 1 Web.xml configuration file section code 72-75 the Appendix 2 security exit part of the code 75-76 the Appendix 3 internationalization issues analysis example code Ⅰ 76-78 1. a_gbk.jsp code 76-77 2. b_gbk.jsp code 77-78 The Appendix 4 international analysis example code Ⅱ 78-79 1. a.jsp code 78-79 2. b.jsp code 79

Related dissertations

  1. Design and Implementation of Fire Police Dispatch System Based on Java Technology
  2. The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
  3. Retailers Membership Card Management System Design and Implementation
  4. Design and Implementation of Intelligent Management System of Assets
  5. Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
  6. Research and Implementation of a Human Resource Management System Based on XX Company
  7. The Design and Implementation of Material Supply Managerment in Fengfeng Group
  8. Design and Implementation of a Supply Chain System for Manufactural Enterprise
    ZhangZhiYou ·Northeastern University ·2011 ·Master's thesis
  9. A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
    HeMingTao ·Zhejiang University of Technology ·2013 ·Master's thesis
  10. Design and Implementation of Huafeng Company Integrated Office System
  11. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  12. Books Management System of Vocational School Based on the J2EE Multi-layer Framework
    JinZeLong ·Hunan University ·2013 ·Master's thesis
  13. Research and Application of Enterprise Information System Based on J2ee Architecture Platform
  14. Design and Implementation of Guangfa Fund CRM System
    YangPei ·Dalian University of Technology ·2013 ·Master's thesis
  15. Design and Implementation of Communication Billing System Basing on J2EE
  16. The Design and Implementation of Educational Management Information System Based on J2EE
  17. Research and Implementation of Logistics Management System Based on J2EE Architecture
  18. English Title of Master Thesis the Design and Implementation of Software System for Project Management
  19. Design and Implementation of DRP System of Wan Jiang Pharmaceuticals Company
    ZhangShaoWei ·Dalian University of Technology ·2013 ·Master's thesis
  20. Design and Implementation of Online Shopping System Based on Struts