|
You could declare it locally, and then store it in session scope. That will let it survive a reload, but make it individual to each session. You'll just have to check and see if it exists before creating a new one.
*edit* Ah, this is linked to your last post, isn't it? So that rules out using the session object. Well, you're using beans (so I'm not really sure why you can't use the session object), so why don't you shove it in there to keep it's state?
You're going to need to use some sort of session-based mechanism if you want it to survive a reload.
|