计算机技术与发展
計算機技術與髮展
계산궤기술여발전
COMPUTER TECHNOLOGY AND DEVELOPMENT
2013年
2期
77-81
,共5页
Struts2框架%配置文件%struts. xml%struts. properties
Struts2框架%配置文件%struts. xml%struts. properties
Struts2광가%배치문건%struts. xml%struts. properties
Struts2 framework%configuration files%struts. xml%struts. properties
Struts2是强大的Java Web开源框架,处理过程通过配置文件完成.针对Struts2框架配置文件内容多、配置复杂、难以掌握的特点,对核心配置文件进行研究.首先,列出了Struts2框架的所有配置文件及其之间的相互关系,指出了struts. xml和struts. properties是核心配置文件;接着,研究struts. xml配置文件,包括struts. xml常用配置解析、struts. xml构建步骤及构建方法;最后研究struts. properties配置文件,着重研究struts. properties中包含主要的Struts2属性及配置方法.文中的研究内容,能够使开发者清晰地理解配置文件的写法与调用关系,有利于团队成员并行工作,提高开发效率.
Struts2是彊大的Java Web開源框架,處理過程通過配置文件完成.針對Struts2框架配置文件內容多、配置複雜、難以掌握的特點,對覈心配置文件進行研究.首先,列齣瞭Struts2框架的所有配置文件及其之間的相互關繫,指齣瞭struts. xml和struts. properties是覈心配置文件;接著,研究struts. xml配置文件,包括struts. xml常用配置解析、struts. xml構建步驟及構建方法;最後研究struts. properties配置文件,著重研究struts. properties中包含主要的Struts2屬性及配置方法.文中的研究內容,能夠使開髮者清晰地理解配置文件的寫法與調用關繫,有利于糰隊成員併行工作,提高開髮效率.
Struts2시강대적Java Web개원광가,처리과정통과배치문건완성.침대Struts2광가배치문건내용다、배치복잡、난이장악적특점,대핵심배치문건진행연구.수선,렬출료Struts2광가적소유배치문건급기지간적상호관계,지출료struts. xml화struts. properties시핵심배치문건;접착,연구struts. xml배치문건,포괄struts. xml상용배치해석、struts. xml구건보취급구건방법;최후연구struts. properties배치문건,착중연구struts. properties중포함주요적Struts2속성급배치방법.문중적연구내용,능구사개발자청석지리해배치문건적사법여조용관계,유리우단대성원병행공작,제고개발효솔.
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. prop-erties. The research content in this paper can make developers clear understanding the way of writing and calling relationships of configu-ration files,it makes for team members to work in parallel and improve efficiency of development.