I'm not real sure what you have in mind here, but this works very nicely:
<action name="blah-*" method="{1}"
class="acme.action.BlahAction">
...
</action>
request for www.//blah-fred fires the fred() method and
request for www.//blah-barney fires the barney method
Peace,
Scott
On Fri, Feb 13, 2009 at 10:40 AM, Daniel Ruan <[email protected]> wrote:
> Is it possible to write an Action Interceptor, which can set the method to
> invoke on the fly, depending on certain runtime variables?
>
> I can get the ActionProxy from ActionInvocation, but the proxy provides
> only
> a getter getMethod() not a setter. Any ideas?
>
> Thanks,
>
> Daniel
>