It's unlikely you can use Spring AOP to intercept Struts Actions since they're not managed by Spring.
On Fri, Sep 10, 2010 at 7:41 AM, Josep García <jgar...@isigma.es> wrote: > Hi all, > > I am trying to apply an interceptor to a Struts2 action, via an xml > configured spring aop, without luck. > Does anyone know how to do it? > > I cannot do it the standard Struts2 way of defining interceptors in > struts.xml, as this interceptor is only to be run when a Struts2 plugin is > present. I have: > - Main Struts2 web app > - Custom Struts2 plug-in which adds functionality. For this plug-in, I > would like to add an interceptor to one of the main Struts2 web-app. > > Any help will be appreciated. > Josep > >