码迷,mamicode.com
首页 > 其他好文 > 详细

struts2中配置文件的调用顺序

时间:2017-03-30 17:26:47      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:struts2   程序   应用   xxx   调用顺序   配置文件   调用   顺序   默认   

1、default.properties 该文件保存在 struts2-core-2.3.7.jar 中 org.apache.struts2中 

2、struts-default.xml 该文件保存在 struts2-core-2.3.7.jar 

3、struts-plugin.xml 该文件保存在struts-Xxx-2.3.7.jar(struts2的插件jar包中) 

4、struts.xml 该文件是web应用默认的struts配置文件(程序员写) 

5、struts.properties 该文件是Struts的默认配置文件(程序员写)。构建路径的顶端 

6、web.xml应用的配置文件

struts2中配置文件的调用顺序

标签:struts2   程序   应用   xxx   调用顺序   配置文件   调用   顺序   默认   

原文地址:http://www.cnblogs.com/zhangxiangguo/p/6646786.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!