jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Restoring screen state Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Restoring screen state" Watch "Restoring screen state" New topic

Restoring screen state

Graham VMead
Ranch Hand

Joined: Sep 22, 2003
Posts: 154

Not sure that this is a specific struts question but a solution needs to work in this frameword.

I'm working on an application which is struts based using Tiles.

We have a requirement where there is a concept of a User session where at any point he/she can suspend the session and log out leaving it incomplete. The User can re open an incomplete session days later and the application should reposition them to the last screen entered restoring all state to the current and previous screens.

Has anyone else had to do this or have links to usefull articles/design patterns.

TIA Graham
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
We did a little similar thing and we used serialized bean, this bean was stored in database and when user want to see the screen again, this form was just populated with data from that serialized bean.

SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
I agree. Here's the link: http://aspose.com/file-tools
subject: Restoring screen state
It's not a secret anymore!