MVC design pattern consists of three parts of components: a Model, a View, and a Controller. The model represents the data objects. The view serves as the screen representation of the model. The struts framework is an actual realization that MVC design pattern. Some of the major benefits of using MVC include: reliability, high reuse, very low development costs, and maintainability.Through the deep study and research of the MVC design pattern and struts framework, this thesis expouds how to use struts framework to resolve the questions by optimizing the Web development framework and compiling code builder.An example based on the source of education management system introduced to illustrate the process to build an n-tier-framework-based system with the help of the Struts framework .In this case, distinction between description logic and business logic is made possible within the MVC design pattern, which means better flexibility and easier management in the exploration of a system. Results show that this new framework helps to increase work efficiency in exploration. Meanwhile, expansibility and maintainability of the system within this framework are also satisfactory. |