struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Heudecker <n...@systemmobile.com>
Subject Re: Testing DispatchAction with StrutsTestCase
Date Mon, 02 Feb 2004 18:44:42 GMT
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


Mime
View raw message