tomcat7.0对struts2配置文件的解析

信息: Deploying web application directory C:\Tomcat 7.0\webapps\ROOT
2012-11-1 14:42:50 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register

信息: Parsing configuration file [struts-default.xml]
2012-11-1 14:42:50 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-plugin.xml]
2012-11-1 14:42:50 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts.xml]
2012-11-1 14:42:50 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
信息: Setting DefaultObjectTypeDeterminer as default ...
2012-11-1 14:42:50 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-default.xml]
2012-11-1 14:42:50 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-plugin.xml]
2012-11-1 14:42:50 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts.xml]

2012-11-1 14:42:50 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8001"]
2012-11-1 14:42:50 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]


这些是tomcat7启动时的信息,tomcat中有一个struts2项目,有一点我很费解,为什么struts2的配置文件被解析了两次?

你可能感兴趣的:(struts2,Tomcat7.0)