You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Greg Akins <an...@gmail.com> on 2010/12/30 16:42:09 UTC

Problem with SessionAware across a redirect

I have an action which implements SessionAware  When that action is
redirected to, the session map is null.

I know that request information isn't persisted across redirects, but
don't expect to lose Session information.

Maybe it's something stupid I'm doing?   Any advice?

Struts 2.2.1 and Tomcat6..

-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Problem with SessionAware across a redirect

Posted by Greg Akins <an...@gmail.com>.
On Thu, Dec 30, 2010 at 10:42 AM, Greg Akins <an...@gmail.com> wrote:
> I have an action which implements SessionAware  When that action is
> redirected to, the session map is null.

Nevermind.. I'm an idiot.  Forgot to include the default-stack when I
added an interceptor.

-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org