On selecting the values and clicking SAVE/ BACK/ CONTINUE All the form values disappear,how to prevent this from happening and how to keep the values intact on clicking these buttons.
The form gets reloaded on clicking the Save order, goes back to the previous page on clicking back, and goes to the next screen on clicking continue. Business requirement is to keep all the form values intact when Save button is clicked OR when the user comes back to this page from any other page.
Please recommend a good way to achieve this. Local Storage and other things didn't suffice.
Edit on the basis of Roman C's comment: Only form gets refreshed on clicking save button. All my pages have back/continue buttons.if traversing from any other page to this page, after using the continue/ back button of that page after filling in form values, the values disappear for this page.
I m using struts 2.0 property tags to store values in value objects in my action class.