I found out where is my problem:
I should set the request method to be "GET" explicitly.
e.g.
request.setMethod("GET");
excuteAction( myUrl);
2012/4/4 Tsin Eduardo :
> Hi, Łukasz, I configurate as value="rest" /> early, I got that error too.
>
> Thank you for the reply anyway.
>
> Best Reg
Hi, Łukasz, I configurate as early, I got that error too.
Thank you for the reply anyway.
Best Regards
2012/4/4 Łukasz Lenart :
>> > value="org.apache.struts2.rest.RestActionMapper" />
>
> It should be rather
>
>
>
>
> Kind regards
> --
> Łukasz http://www.lenart.org.pl/
> mobile +48 606 323
> value="org.apache.struts2.rest.RestActionMapper" />
It should be rather
Kind regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/
-- 已转发邮件 --
发件人: 覃洪军
日期: 2012年4月3日 下午7:06
主题: Why doesn't StrutsJunit4TestCase invoke index() method
收件人: user-i...@struts.apache.org
-- Forwarded message --
From: 覃洪军
Date: 2012/4/3
Subject: Why doesn't StrutsJunit4TestCase invoke index() metho
4 matches
Mail list logo