Re: Why doesn't StrutsJunit4TestCase invoke index() method

2012-04-03 Thread Tsin Eduardo
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. > >

Re: Why doesn't StrutsJunit4TestCase invoke index() method

2012-04-03 Thread Tsin Eduardo
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