2007/11/7, Markus Demetz <[EMAIL PROTECTED]>:
>
> Hi all!
>
> I'm looking for a convenience way to keep an Object over a single
> request. I know that i could put it into the session and remove it
> afterwards, but is there another way to handle this, without needing to
> remove it explicitely?
>
> For those who know Symfony (php framework) there is a setFlash(..)
> method which keeps objects alive over a request and deletes them
> afterwards.
> Is there something similar in Struts (ver.1) or some approach?



There is a JIRA issue for this:
https://issues.apache.org/struts/browse/STR-2939
But there is no real implementation :-(
I know that it could be a bit of marketing, but think about the use of
Scopes:
http://scopes.sourceforge.net/
In particular, the "click" scope:
http://scopes.sourceforge.net/documentation/more-scopes/click-scope.html

Ciao
Antonio

Reply via email to