2012/10/25 Adam Stokar <ajsto...@gmail.com>:
> I'm having a really weird issue having to do with setting a flash scope
> attribute.  The following code works:
>
> getContext().getRequest().getSession().setAttribute(name,value);
>
> But this code is not working:
>
> FlashScope fs = FlashScope.getCurrent(getContext().getRequest(), true);
>
> fs.put(name, value);
>
> The first version allows me to access the attribute in my jsp, the second is
> saying the value is null.

How do you access the attribute in the jsp?

> Can anyone think of why?  I've am using the same FS code in other
> ActionBeans and it's working fine.  Is there something in an ActionBean that
> might cause the FlashScope object to not work when called within it?

Frank

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to