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 <fshk...@gmail.com>: > Hi, Łukasz, I configurate as <constant name="struts.mapper.class" > value="rest" /> early, I got that error too. > > Thank you for the reply anyway. > > Best Regards > > 2012/4/4 Łukasz Lenart <lukasz.len...@googlemail.com>: >>> <constant name="struts.mapper.class" >>> value="org.apache.struts2.rest.RestActionMapper" /> >> >> It should be rather >> >> <constant name="struts.mapper.class" value="rest" /> >> >> >> Kind regards >> -- >> Łukasz http://www.lenart.org.pl/ >> mobile +48 606 323 122, office +27 11 0838747 >> Warszawa JUG conference - Confitura http://confitura.pl/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org