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]