Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Keep Objects over request

Markus Demetz

2007-11-07

Replies:

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?

Thank you, Markus



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.