Re: Struts2 Rest/Non-Rest Actions

2015-03-10 Thread Lukasz Lenart
2015-03-10 23:17 GMT+01:00 CRANFORD, CHRIS : > What could I missing to where I could have both RESTful and non-RESTful > action code reside in the same action class with varying annotations? I think this isn't possible, there is rest-showcase demo app, did you try it? Regards -- Ɓukasz + 48 60

Struts2 Rest/Non-Rest Actions

2015-03-10 Thread CRANFORD, CHRIS
I am trying to use the convention and rest plugins to create an action that supports both a RESTful API and a Non-RESTful API but it appears on the surface this isn't possible. The only way I have been able to get this to work in the same web application was to do the following: // Simple Non-