In my struts.xml I have: <constant name="struts.objectFactory" value="spring"/>
And at the top of my applicationContext.xml I have: <beans default-autowire="autodetect" xmlns=...> And my Interceptors are getting injected just fine. On another project, I have autowiring turned off, but then you have to define each interceptor as a bean in the applicationContext.xml and specifically define the objects that get injected into it. (*Chris*) On Wed, Sep 23, 2009 at 7:21 AM, Mike Baranski < list-subscripti...@secmgmt.com> wrote: > Correct me if I'm wrong, please, but if I have an interceptor, it should > get > injected by spring. > > I have a bean I'm expecting, the set method written, and the bean defined > in > applicationContext. > > My main struts.xml has: > > <constant name="struts.objectFactory" > value="org.apache.struts2.spring.StrutsSpringObjectFactory" /> > > My setter is not getting called, is there anything else I need to do? > > > M. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >