信息: Deploying web application directory C:\Tomcat 7.0\webapps\ROOT
2012-11-1 14:42:50 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
[color=red]
信息: 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]
[/color]
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的配置文件被解析了两次?
2012-11-1 14:42:50 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
[color=red]
信息: 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]
[/color]
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的配置文件被解析了两次?