If you're using Spring you could define your action bean as a
singleton and that would do the trick since the same instance would
always be reused. Note that this is pretty crazy in most cases,
you're probably better off storing our objects in session scope like
Chris suggested.
Zarar
On 9/29/07
You're probably right, whenever the Action is created, it's
initialized. In struts 1, since the Actions didn't go away, any data
was retained. This was usually the source of many, many bugs. It's a
very rare condition when you want the data from one invocation of the
Action to carry forward to t
2 matches
Mail list logo