private static void initXWork() {
String configFilePath = configDir + "/struts.xml";
File configFile = new File(configFilePath);
try {
ConfigurationProvider configProvider = new StrutsXmlConfigurationProvider(configFile.getCanonicalPath(), true, null);
cm = new ConfigurationManager();
cm.addConfigurationProvider(new DefaultPropertiesProvider());
cm.addConfigurationProvider(new StrutsXmlConfigurationProvider("struts-default.xml", false, null));
cm.addConfigurationProvider(configProvider);
cm.addConfigurationProvider(new LegacyPropertiesConfigurationProvider());
cm.addConfigurationProvider(new BeanSelectionProvider());
isXWorkStarted = true;
} catch (IOException e) {