Help : Disable Strict Method Invocation for struts 2 rest plugin

2018-04-07 Thread DevaGerald
I am using Struts 2 with rest plugin and I need to migrate from struts 2.3 to struts 2.5. My application also has struts 1 with the older apis unmigrated to struts2. I have some custom methods in my application other than the default CRUD operations. As the strict method invocation is enabled now

Re: Help : Disable Strict Method Invocation for struts 2 rest plugin

2018-04-09 Thread DevaGerald
Thanks a lot Lukasz. I have resolved it by adding regex:[a-zA-Z]* in my struts.xml Do I have any alternative for this? Thanks & Regards, Deva Gerald. -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html --

Re: Help : Disable Strict Method Invocation for struts 2 rest plugin

2018-04-14 Thread DevaGerald
I don't use DMI. I have the following configured in struts.xml. So is there any other way for me to disable strict method invocation? I am just using struts 2 rest plugin. Thanks & Regards Deva. -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html -

Re: Help : Disable Strict Method Invocation for struts 2 rest plugin

2018-04-18 Thread DevaGerald
Yes i have configured rest plugin for that -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@stru

Re: Help : Disable Strict Method Invocation for struts 2 rest plugin

2018-04-18 Thread DevaGerald
Sorry if I am so dumb. Where should i file the ticket? -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: us

Re: Help : Disable Strict Method Invocation for struts 2 rest plugin

2018-04-19 Thread DevaGerald
Just a clarification. May be my point was misunderstood. Ex : /resource/resource_id/hello This will call the hello method of my controller. REST plugin directly maps to my custom method. In this case, it calls the hello method of my ResourceController. What will be the best solution for this case

Re: Help : Disable Strict Method Invocation for struts 2 rest plugin

2018-04-19 Thread DevaGerald
http://struts.apache.org/dtds/struts-2.5.dtd";> regex:[a-zA-Z]* -- Sent from: http://struts.1045723.n5.nabble.com/Struts-Us

Re: Help : Disable Strict Method Invocation for struts 2 rest plugin

2018-04-26 Thread DevaGerald
Any update on this? -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Support for sub-resources in struts 2 rest plugin

2018-04-27 Thread DevaGerald
Hi, Sorry if i miss something here. As of my knowledge, the struts 2 rest plugin supports only the following : /resource - GET /resource - POST /resource/$resource_id - GET /resource/$resource_id - PUT /resource/$resource_id - DELETE and also the custom methods like /resource/$resource_id/my_cus

Re: Help : Disable Strict Method Invocation for struts 2 rest plugin

2018-04-28 Thread DevaGerald
Thanks for the reply. We will use the existing (regex in global-allowed-methods) solution till that. -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-unsubscr...@struts.

Re: Help : Disable Strict Method Invocation for struts 2 rest plugin

2018-04-29 Thread DevaGerald
Hi Yasser, We already have a layer of security(a filter which runs first in our web-app) which handles allowed url patterns. So in this we have to again add code for allowed methods. So we are trying to get an option to disable it. Thanks, Deva. -- Sent from: http://struts.1045723.n5.nabble.c

Re: Support for sub-resources in struts 2 rest plugin

2018-04-29 Thread DevaGerald
Thanks for your reply. I am already using struts-2 rest plugin in production. What we are trying to solve here, is a hierarchical resource entity API implementation. Let me give an example of what I am trying to do. For getting an organization info, we can use a REST API like /organizations/orga

Re: Support for sub-resources in struts 2 rest plugin

2018-04-30 Thread DevaGerald
I have created a new ticket. https://issues.apache.org/jira/browse/WW-4935 Thanks, Deva. -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: Support for sub-resources in struts 2 rest plugin

2019-03-21 Thread DevaGerald
Any update on this requirement? Or atleast any workaround? -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mai