You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nick Heudecker <ni...@systemmobile.com> on 2004/02/02 19:44:42 UTC

Re: Testing DispatchAction with StrutsTestCase

Al,

I just set the appropriate request parameter.  If the parameter is 'method'
and the method I want to test is 'get', it would look like this:

addRequestParameter("method", "get");



On 2004-Feb-02 10:02, Al Rathon wrote:
> Hi:
> I am working working on a Struts based web-app that
> uses DispatchAction to club the methods belonging to
> each entity in one Action class. I would like to know
> how to test such an action class using struts test
> case.
> 
> Thanks in advance for the help. 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> http://webhosting.yahoo.com/ps/sb/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

-- 
Nick Heudecker
System Mobile, Inc.
Email: nick@systemmobile.com
Web: http://www.systemmobile.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org