-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jean-Marie,

Jean-Marie Pitre wrote:
> I am able to detect a double submission but for the moment I display an
> error page instead of the result page.
> Is there any way to ensure the display of a response that represents the
> original request's outcome ?

You would have to save the information from the "original" response
(say, in the session), and then re-display it after you have detected
that it was a double-submit.

By the way, have you checked to make sure that two simultaneous
submissions isn't a problem? I recently considered using Struts'
"tokens" and it looked like there was no way to catch two requests at
the same time (since you "expire" the token at the end of processing,
not the beginning). It felt like running a SQL transaction without being
able to use BEGIN and COMMIT.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFXJw19CaO5/Lv0PARAszNAKCPqqlN64pqaMgC9p5nppNJDZpyRQCgu/oM
Ugu3XUyZqpdYpJhMLMVyKg4=
=5N0W
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to