Re: struts2-rest-plugin issues getting non-restful urls to cooperate

2016-06-30 Thread Aleksandr Mashchenko
Hey Ken, Can you be more specific about PUT method isn't working like it should? (some code, links to SO questions) >Struts2 has ActionSupport, it would be nice if similar interfaces already existed for the rest-result type Actually there is RestActionSupport - https://github.com/apache/st

Re: struts2-rest-plugin issues getting non-restful urls to cooperate

2016-06-29 Thread Ken McWilliams
I have not forgotten about this but in setting up a project I like everything to work well, the restful urls and non-restful urls are more less happy. My issue was with POST and PUT requests. The Action uses model-driven, and with POST which calls create() all is well, while PUT which calls update(

RE: struts2-rest-plugin issues getting non-restful urls to cooperate

2016-05-30 Thread Martin Gainty
> From: lukaszlen...@apache.org > Date: Mon, 30 May 2016 08:18:28 +0200 > Subject: Re: struts2-rest-plugin issues getting non-restful urls to cooperate > To: user@struts.apache.org > > 2016-05-27 17:41 GMT+02:00 Ken McWilliams : > > I got it working but I think the doc

Re: struts2-rest-plugin issues getting non-restful urls to cooperate

2016-05-29 Thread Lukasz Lenart
2016-05-27 17:41 GMT+02:00 Ken McWilliams : > I got it working but I think the documentation could be made with more > "hand holding". I'll post a "How to set up struts2 with conventions and > both restful and non-restful urls". Then self-answer the question this > weekend with all the configurati

Re: struts2-rest-plugin issues getting non-restful urls to cooperate

2016-05-27 Thread Ken McWilliams
I got it working but I think the documentation could be made with more "hand holding". I'll post a "How to set up struts2 with conventions and both restful and non-restful urls". Then self-answer the question this weekend with all the configuration and project set-up steps and then post the link h

RE: struts2-rest-plugin issues getting non-restful urls to cooperate

2016-05-26 Thread Aleksandr Mashchenko
Working fine in my project. Can you show your project configuration? --- Regards, Aleksandr - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

struts2-rest-plugin issues getting non-restful urls to cooperate

2016-05-24 Thread Ken McWilliams
I'm following these instructions to get restful and non-restful urls to cooperate: http://struts.apache.org/docs/rest-plugin.html#RESTPlugin-RESTandnon-RESTfulURL%27sTogetherConfiguration Having followed the instructions on that page I've been able to set up a project _only_ containing restful ur