Monday, August 13, 2012

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
 
http://permalink.gmane.org/gmane.comp.jakarta.struts.user/75447 

No comments:

Post a Comment