Hi !
I have been using Stripes for a few months and actually love it !!
However, I do have a question about flash scope which work under a cluster
env.
For various reasons (please don't ask), our system store all session data to
a DB and load balance with a few Tomcat boxes.
Everything in Stripes work fine until flash scope, the FlashScope object
Map<Integer, FlashScope> is store under HTTP session and retrieve it upon
next request. However, everytime I update the content of flash scope object
it is done "in-memory" without actually calling session.setAttributes("XXX")
again to invoke Tomcat something have changed in session.
The above work fine if the system using native Tomcat session manager, but
fail if the system store session data in DB or a memcache cluster because
the session data in DB / Memcache will never got updated.
I really like the concept of flash scope and although I can put those
message in session data and display it using <s:message>, I still want to
use flash scope.
Is there a small work around or a patch to update the session object if the
flash scope's content have been updated?
Thanks
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users