On Thu, Sep 17, 2009 at 1:03 PM, Mike Baranski <list-subscripti...@secmgmt.com> wrote: > I did see that, but I need spring to inject into the instantiated instance > from struts.xml, not the injected one from applicationContext.xml. They > seem to be 2 different ones if I have it in both. > > Maybe I can tell spring to grab the bean from struts, but I don't know how.
You can do it the other way round fairly easily. Just use a Spring object factory. Just make sure the setters on the Spring side do everything you need done before the init. -- cordially, Marty Milligan PO Box 434, Falling Waters, WV 25419 http://milligansisland.com/ http://byteslinger.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org