Re: Struts 2 Rest + Prevent Session creation

2008-08-28 Thread rakeshxp
Found the issue. I had missed adding %@ page contentType=text/html; charset=UTF-8 session=false pageEncoding=UTF-8% in the JSP page ( by default session is true ). Now no session is created ( and so no JSESSIONID cookie is set ) Thanks! Jeromy Evans - Blue Sky Minds wrote: rakeshxp

Struts 2 Rest + Prevent Session creation

2008-08-27 Thread rakeshxp
Creating a new post for a new query on struts 2 rest plugin. In my current app ( built on struts 2.0.10), I have a custom interceptor stack ( which is set as default-interceptor-ref ). the code looks like this: package name=mydefault extends=struts-default namespace=/

Re: Struts 2 Rest + Prevent Session creation

2008-08-27 Thread Jeromy Evans
rakeshxp wrote: But this does not seem to work. When I hit any restful URL, then there is a JSESSIONID cookie being set. Could someone point out what is wrong with the above config ? Thanks! CodeBehind is responsible for setting up the packages. I don't know the history, but codebehind