You could use the @Autowire annotation directly on a property... But I don't really see how that is better than using setter-based injection. Just because the beans are singletons doesn't mean anything special, you still need a reference to them in your struts action.
-Wes On Tue, Sep 8, 2009 at 5:13 PM, James Carr<[email protected]> wrote: > I have several singleton based beans defined in my > applicationContext.xml and I'd like to just use these rather than > being forced to set them on my action. is there any way to accomplish > this? > > Thanks, > James > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Wes Wannemacher Head Engineer, WanTii, Inc. Need Training? Struts, Spring, Maven, Tomcat... Ask me for a quote! --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

