posted 15 years ago
Ok that worked great for me. Since its a dumb page after form submission, I dint have much to do, I did a redirect, and in the next page's controller I have overridden referenceData() method of the spring's SimpleFormController class which gets called repeatedly (no additonal code necessary here for this to work) but to let you know that this gets called on every refresh. I make sure I send the request attibutes that I need in my next page at the end of the onsubmit. And its working fine.
To help anyone who will search for this in future I have placed my code snippet.
In my page one on form submit:
In my page 2 do nothing, just F5 and you still have old data and no submit action takes place for the old page.
Thank you, everyone for your response and suggestion.
Cheers,
Kavita.