Re: S2 REST plugin URL mapping convention

2009-02-26 Thread ManiKanta G
Hmm... I found this two different behaviors in the S2 documentation itself. POST -> create , PUT -> update: http://struts.apache.org/2.x/docs/rest-plugin.html PUT -> create, POST -> update: http://cwiki.apache.org/S2PLUGINS/restful-crud-for-html-methods.html which one to choose? confused! Thanks

S2 REST plugin URL mapping convention

2009-02-26 Thread ManiKanta G
Hi, In S2 REST plugin, the url mapping convention is POST for create, PUT for update (as with the Rails style). But from Sun tuts ( http://java.sun.com/developer/technicalArticles/WebServices/restful/) I see POST for update, PUT for create. I observed similar behavior in lot many frameworks/appli