现在的位置: 首页 > 综合 > 正文

Struts2加载常量的顺序

2013年06月01日 ⁄ 综合 ⁄ 共 124字 ⁄ 字号 评论关闭

StrutsXMLWeb 
1. struts-default.xml 
2. struts-plugin.xml 
3. struts.xml 
4. struts.properties 
5. web.xml 
多个文件定义了同一个常量值,则后一个会覆盖前面的定义!

抱歉!评论已关闭.