Font Size: a A A

Study And Implementation Of Web Application Based On Struts

Posted on:2006-01-09Degree:MasterType:Thesis
Country:ChinaCandidate:M M TianFull Text:PDF
GTID:2168360155972125Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
MVC (Model-View-Controller) as a well-known user interface design pattern was brought up with the development of Smalltalk. MVC pattern not only realizes the separation of function block and display block, but also enhances the maintenances, expansibility and transportability of the application system. In the same time, the reusability of component also enhanced. Struts is one of the concrete applications of MVC pattern. Struts is made up of a series of framework class, assist class and custom-built JSP mark library. The core of the Struts framework is a flexible controlling layer based on standard technologies like Java Servlets, JavaBeans, and XML (Extensible Markup Language) etc. In web application developing, Struts separates interface design and Service Logic, thus it helps the work division between webpage designer and the work of programmer, and enhances the reusability and flexibility of the code, and makes modular development easier.This paper aimed at constructing an effective enterprise information system. The Struts which was popular since 2000 was deeply discussed. The technology of constructing enterprise information system was deeply studied. The main work and innovation are list here:1. MVC pattern and its key technology were fully discussed. Several concrete application frameworks such as Struts, JATO, JSF and WAF were compared. Some questions on system developing based on MVC pattern were discussed.2. Some proposals on dealing with user request were given. A series of solutions, such as the access of database, the user's recognition, the user's authentication and security exit, the management of daily record etc. were proposed. The migration relationship during data transform and many error conditions were fully studied, the effective and accuracy of data transform proposals were brought out. The work of developing was alleviated,;The flexibility and extendibility of the system were enhanced, and the maintenance and upgrade became easier.3. The reasons of Chinese disorder code were analyzed. A solution suitable for enterprise web system development on Struts internationalization was proposed. This solution can solve the following problems that are common in web application developing: the Chinese data turns into "????" in JSP files from database; the Chinese value in properties files turns into disorder code; the Chinese data in JSP files turns into disorder code in browser.An enterprise information system based on the research mentioned above was implemented, and the system was adopted by a power company in HUNAN province, and it has a sound effect.
Keywords/Search Tags:Pattern, Framework, J2EE, MVC, Struts, Web, Enterprise Information System
PDF Full Text Request
Related items