>> 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

Thanks for the link. I did try this, but these are all still autowire
options (just using different methods of autowiring - by type, by
constructor, etc). There isn't an option here to disable autowiring
(unless I'm missing something).

Cheers

Peter

_______________________________________________________________________
The information contained in this e-mail is confidential and may be privileged. 
It is intended for the addressee only. If you are not the intended recipient, 
please delete this e-mail immediately. The contents of this e-mail must not be 
disclosed or copied without the sender's consent. The statements and opinions 
expressed in this message are those of the author and do not necessarily 
reflect those of the company. The company does not take any responsibility for 
the views of the author.

Registered Office: IT-Freedom Limited, 9 Minster Court, Tuscam Way, Camberley, 
Surrey GU15 3YY 
Registered in England, Number: 04500346
_______________________________________________________________________

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

Reply via email to