There are two issues regarding your post. 1. How to prevent Back and double-submission. 2. How to validate.
For issues one, token is a better approach. For issues two, you can always display validation errors on the same submission page instead of going into next page. -----Original Message----- From: Ron Day [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 4:38 PM To: Struts Users Mailing List Subject: RE: The Back button on on multi-page forms ?????? I'm not relying on the back button. Believe me, I wish it wasn't there. It is and the user will use it.......... i'm trying to recover from it in a reasonable way. R -----Original Message----- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 3:34 PM To: Struts Users Mailing List Subject: RE: The Back button on on multi-page forms ?????? On Mon, 2003-03-10 at 16:07, Ron Day wrote: > So, how can they correct a user error (i.e wrong phone number) on the > previous page, and resubmit the form? Show 'em a "is this info correct?" page and take it from there. Relying on the "back" button to do anything useful is a bad idea--how would you know what the appropriate action is if it's resubmitted? For credit cards it would do a re-charge. Or they could be added to a mailing list twice, or whatever. If they hit the "back" button and re-busmit it sounds like you want struts to automagically do an "update," not a "create," or something. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]