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
/* * HibernateOpenSessionInViewInterceptor.java * * Created on March 18, 2006, 3:51 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package edu.washington.javawebdevelopment.webwork.interceptor; import com.opensymphony.xwor

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