Home > FAQs > How can we create our Action objects from the Spring configuration |
Each time
applicationContext.xml
)struts.xml
action mapping to use the bean name defined in Spring instead of the actual class name.One time
struts.objectFactory = spring
to the struts.properties.WEB-INF
folder.
For details, see Initializing Actions from Spring.