Re: Session not set before prepare() function with Struts 2 prepare interceptor

2007-03-28 Thread Dave Newton
--- Jason Wyatt <[EMAIL PROTECTED]> wrote: > > > > > Your question was already answered, but I'd add that normally "prepare" is already part of "defaultStack". d. Expecti

RE: Session not set before prepare() function with Struts 2 prepare interceptor

2007-03-27 Thread Jason Wyatt
Thanks Rohit, moving the default stack before the prepare was a good idea, works fine. Regards Jason -Original Message- From: Rohit Dewan [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 March 2007 4:01 PM To: Struts Users Mailing List Subject: Re: Session not set before prepare

Re: Session not set before prepare() function with Struts 2 prepare interceptor

2007-03-27 Thread Rohit Dewan
Hi Jason, I believe it is the servlet-config interceptor that is responsible for setting the session. I think it is part of the defaultStack. Try moving the defaultStack before prepare in your configuration. That might do the job. Regards, Rohit On 3/27/07, Jason Wyatt <[EMAIL PROTECTED]> wrote