--- On Mon, 10/13/08, Peter Butler wrote: > From looking at the Struts 2 code and documentation I can't see any > way to disable this behaviour. I have tried setting > default-autowire="no" in my Spring application context configs and > autowire="no" for the individual actions in the Spring file but these > settings have no effect. > > Is there any way to test Struts 2 actions in isolation by > populating dependencies using JMock objects, or am I stuck with > Struts' insistence on autowiring everything?
Did you try one of the Spring plugin wiring settings? http://struts.apache.org/2.0.11/docs/spring-plugin.html Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]