Maybe there is a better way than orchestrating directly a low level api. What do you need exactly? Why don't you simple use wildcard mapping [1]?
[1] http://struts.apache.org/2.1.8/docs/wildcard-mappings.html Maurizio Cucchiara On Dec 18, 2010 2:04 AM, "wusheng zhang" <zwush...@gmail.com> wrote: > I have some action definition xml fragments generated by some > general-action, > I just want to update the action mapping by the so called 'general-action' > at run time, > and let them serves the following requests. > > > I found the org.apache.struts2.config.StrutsXmlConfigurationProvider object > can be > retrieved through > > org.apache.struts2.dispatcher.Dispatcher.getInstance().getConfigurationManager().getConfigurationProviders(); > > Is this a possible way or right way to carries out the such a > 'dynamic-configuration-tasks'? > > thanks.