struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken McWilliams <>
Subject Re: dynamic interceptor insertion
Date Thu, 03 Jul 2014 00:16:11 GMT
Thank you Lukasz I'll put it on my todo list ;)

Martin, interceptor stacks are efficient I think the scope struts2 has is
very good, still it is fun to push boundaries, one of those fun higher
initiatives would be a Web IDE for struts2. You could dynamically build an
interceptor stack, and you could step though the stack keeping an eye on
the action as part of the debug process, (values before and after

So in short no there isn't anything that can't be done with non dynamic
stacks, but in the name of learning this web framework and making things
more efficient- being able to dynamically alter the stacks is very
interesting. At the end the the day the idea was to write out a non-dynamic
struts.xml for production deployment.

On Wed, Jul 2, 2014 at 1:12 PM, Lukasz Lenart <>

> 2014-07-02 19:38 GMT+02:00 Ken McWilliams <>:
> > This is somethings I've wanted to do (dynamically change the interceptor
> > stack), I'm not at a development machine so have not checked the
> > plausibility of the following but would like input:
> >
> > Is it possible to create a custom ActionInvocation object, for this
> purpose?
> > Is it possible to essentially recreate the functionality of
> > ActionInvocation within an interceptor which then delegates to other
> > interceptors?
> Hm... yeah, with custom ActionInvocation and ActionProxyFactory should
> do the trick, check the REST Plugin to see what must be implemented to
> create your own ActionInvocation
> Regards
> --
> Ɓukasz
> + 48 606 323 122
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message