RE: Is there a way to use Spring to inject objects to a Struts 2 Interceptor?

2008-01-07 Thread Néstor Boscán
: Néstor Boscán Asunto: Re: Is there a way to use Spring to inject objects to a Struts 2 Interceptor? The Struts2 Spring plugin takes care of that for the Actions. I just don't know if the object factory is also used with Intecepter properties. * http://struts.apache.org/2.x/docs/spring-plugin.htm

Re: Is there a way to use Spring to inject objects to a Struts 2 Interceptor?

2008-01-07 Thread Ted Husted
Hmmm, it's an interesting idea. I take it you already tried defining a property in the Interceptor, the same way we would for an Action, and a Spring bean was not injected into the Interceptor property? (I never tried it myself.) -- HTH, Ted * On Jan 4, 2008 4:51