struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: Problem with configured action method names and Testing Framework
Date Fri, 17 Jun 2011 05:24:46 GMT
2011/6/17 UV <uvwild@googlemail.com>:
> When I try to test an action with a method="actionMethod" attribute
> configured in a  StrutsTestCase
> the AnnotationValidationInterceptor fails in getActionMethod#75 cause it
> cannot find the method

Try to name your method actionMethod instead of getActionMethod and of
return type String


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

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


Mime
View raw message