Hi
I'm fairly new to Struts 2
I'm looking for a way of unit testing Struts 2 action classes which are (for
example) ServletRequestAware.
Cactus (the old way I did it) does not appear suitable (or is it and I'm
missing something?) and HttpUnit does not seem to do the job either. I can
t
Unless you really *need* to bind your actions to Http* types, you should use
RequestAware. This allows the same end goal indirectly through a Map.
Scott
On Fri, Oct 24, 2008 at 7:10 AM, Nick Maunder | Oathouse
<[EMAIL PROTECTED]>wrote:
> Hi
>
>
>
> I'm fairly new to Struts 2
>
>
>
> I'm looking
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 24 October 2008 13:19
To: Struts Users Mailing List
Subject: Re: Unit Testing Action Classes that are "Aware"
Unless you really *need* to bind your actions to Http* types, you should use
RequestAware. This allows the same end
-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 24 October 2008 13:19
> To: Struts Users Mailing List
> Subject: Re: Unit Testing Action Classes that are "Aware"
>
> Unless you really *need* to bind your actions to Http* types, you should
> use
> Request
4 matches
Mail list logo