如何获取struts配置文件
org.apache.struts2.dispatcher.Dispatcher
init_DefaultProperties(); // [1] init_TraditionalXmlConfigurations(); // [2] init_LegacyStrutsProperties(); // [3] init_CustomConfigurationProviders(); // [5] init_FilterInitParameters() ; // [6] init_AliasStandardObjects() ; // [7]//等等//关于[1]//Load the default propertiesconfigurationManager.addConfigurationProvider(new DefaultPropertiesProvider());//[2]Load DEFAULT_CONFIGURATION_PATHS 中的配置文件/** * [7]BeanSelectionProvider 读取org/apache/struts2/struts-messages * Selects the implementations of key framework extension points, * using the loaded property constants. */configurationManager.addConfigurationProvider(new BeanSelectionProvider());
里面的细节尚未理清。