struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davis, Chad" <Chad.Da...@emc.com>
Subject RE: implementaiton advise on custom TextProvider
Date Mon, 15 Oct 2012 15:43:39 GMT


> If you are using the Spring Framework with your App, you should be able to
> define your TextProvider, with all it's dependencies, as a Spring Bean, then
> when you define the <bean> in Struts use the Spring Bean ID instead of using
> the full class name.  Struts will use that Spring Bean in place of creating a new
> one.
>   (*Chris*)

So, you're saying that I can use the Spring plugin's Spring DI to configure framework components?
 I was under the impression that I had to use the framework's internal DI for such things
. . . 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message