Research and Application of Core Configuration Files of Struts2 Framework
Hong Xiao-hui · Computer Technology and Development · 2013
Struts2 is a powerful open source framework of Java Web,the processing procedure of Struts2 framework has been finished by configuration files.For the characteristic of framework configuration files more content,configuration complexity and hard to master,the two core configuration files are researched.At first list all the configuration files of Struts2 and their relationship.Then research struts.xml configuration file,including struts.xml common configuration analysis,construction steps and building method of the struts.xml.Finally,research configuration files of the struts.properties,focus on the main Struts2 attribute and configuration method contained in struts.properties.The research content in this paper can make developers clear understanding the way of writing and calling relationships of configuration files,it makes for team members to work in parallel and improve efficiency of development.