Don Brown - 2003-10-23

This project integrates the Spring Framework's Inversion of Control (IoC) into Struts 1.1+. It allows a Struts application to take advantage of IoC with little or no references to Spring. Now, instead of relying on singletons and static factories, Struts actions can have their dependencies automatically resolved.

The integration uses Spring to create and populate Struts actions, using IoC to resolve dependencies. It does NOT use a custom request processor and therefore can be more easily used with existing web applications and/or other Struts extensions.

To demonstrate the project, I modified the Struts-Example web app that is distributed with Struts 1.1 to use Spring to resolve all UserDatabase dependencies automatically. I invite any comments and suggestions.

Homepage: http://struts.sf.net/struts-spring

Don