Struts 2 has built-in Spring support.  This means if you choose the
spring object factory (by changing struts.properties), your actions
will be autowired by name with Spring.  In addition, you can have your
Action class itself be created and wired by Spring, simply by using
the spring id where you would normally put the full class name in
struts.xml.

For more information, see http://cwiki.apache.org/confluence/display/WW/Spring

Don

On 10/18/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
If Struts2 is WebWork, is Spring Configured anywhere for its IOC? When
working with it a while back, I really liked the fact that you could
create the datasource, and inject the datasource into DAOs. Or does
WebWork have an IOC that mimicks Spring?

Thanks,

On 10/18/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> From: Jim Reynolds [mailto:[EMAIL PROTECTED]
> > [...] also appears to include WebWork.
>
> Struts2 *is* WebWork.
>
> Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to