Re: REST question

2014-02-11 Thread Miguel
Thanks Lukasz, the REST namespace makes everything work well with the REST Plugin loaded. Now the real work begins, but that will be for tomorrow morning. Regards Miguel Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino On Tue, Feb 11, 2014 at 11:46 PM, Lukasz Lenart

Re: REST question

2014-02-11 Thread Lukasz Lenart
You can define REST namespace http://struts.apache.org/release/2.3.x/docs/rest-plugin.html#RESTPlugin-Settings struts.rest.namespace = /rest Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2014-02-12 0:15 GMT+01:00 Miguel : > Hi Ken, > > Thanks for the pointer, In fact the app use

RE: REST question

2014-02-11 Thread Martin Gainty
t... maybe another interceptor for exceptions? throw new ServletException(ex); } } } ? Martin- > Date: Tue, 11 Feb 2014 14:42:47 -0700 > Subject: Re: REST question > From: ken.mcwilli...@gmail.com > To: user@struts.apache.org > > Sounds like you have u

Re: REST question

2014-02-11 Thread Miguel
Hi Ken, Thanks for the pointer, In fact the app uses open session in view with a custom interceptor, but does the REST Plugin changes the struts-default and the json-default packages when you include the struts2-rest-plugin-2.3.16.jar? That could explain what is happening, but, how I assing the

Re: REST question

2014-02-11 Thread Ken McWilliams
Sounds like you have used the Open Session in View method... probably provided by a custom interceptor, when adding the rest plugin you have changed your action to the rest package and forgot to put your interceptor back in place, so now you don't have a hibernate session and the view generates thi

REST question

2014-02-10 Thread Miguel
Hi, A strange situation happens when I load *struts2-rest-plugin-2.3.16.jar* With out the REST plugin my action and jsp's works as always has worked. But with the mere inclusion of the REST Plugin, some jsp's stops finding variables, because the variable name changes. Here is the snippet: struts.