struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: Struts2 REST plugin problems
Date Tue, 05 Jul 2011 13:47:15 GMT
2011/7/4 Aelbery Lee <aelbery@gmail.com>:
> Yes. I had set "struts.rest.namespace" in the struts.xml to "/ws".

It must work, could you show your action's source code ? Do you map
like these below:

/ws/model -> ModelAction.index()
/ws/mode/1 -> ModelAction.show()


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