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
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
--
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
-
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
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
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
http://struts.apache.org/dtds/struts-2.5.dtd";>
regex:[a-zA-Z]*
--
Sent from: http://struts.1045723.n5.nabble.com/Struts-Us
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
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
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.
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
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
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
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
14 matches
Mail list logo