struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <>
Subject Re: dynamic interceptor insertion
Date Thu, 10 Jul 2014 13:20:25 GMT
2014-07-09 20:01 GMT+02:00 Gildas de Cadoudal <>:
> thanks Lukasz, but ActionProxy#getConfig()#getInterceptors() lists the
> interceptors but not the name of the stack used by the action

You can always @Inject Configuration and traverse over it, anyway
without large changes inside S2 it isn't possible to simple inject
interceptor. I think the simplest option is to mark action with
interface to activate given interceptor. In the same way as
ServletConfigInterceptor injects request (RequestAware), session
(SessionAware) and so on.

+ 48 606 323 122

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message