Thanks for the help. It did point me in the good direction. Here is the
answer:

        RuntimeConfiguration runtimeConfiguration =
Dispatcher.getInstance().getConfigurationManager().getConfiguration().getRuntimeConfiguration();
        Map actionConfigs =     runtimeConfiguration.getActionConfigs();


Gary Affonso wrote:
> 
> George Dadulescu wrote:
>> Hi.
>> Is there any possibility to get the list of all the action names defined
>> in
>> struts.xml ?
> 
> It's in the RunTimeConfiguration.  Something like...
> 
> 
> RuntimeConfiguration runtimeConfiguration = 
> ConfigurationManager.getConfiguration().getRuntimeConfiguration();
> 
>          ActionConfig actionConfig = 
> runtimeConfiguration.getActionConfig("", 
> actionInvocation.getInvocationContext().getName());
> 
> 
> The above is a copy-and-paste from a WebWork app, might need some 
> tweaking for S2.  But it should get you pointed in the right direction.
> 
> - Gary
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Get-the-list-of-all-action-names-defined-in-struts.xml-tf4904545.html#a14103263
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to