I just checked the book.  His approach is to just throw a servlet exception
when a sensitive form is resubmitted.  I believe what Greg wants is a way to
display the results just as if the second submition did not occur.

> -----Original Message-----
> From: DUBCHAK, JOHN (SBCSI) [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 3:54 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Application Flow with Transaction Tokens?
>
>
> David Geary presented something similar to this in his Advanced JavaServer
> Pages book.  It was implemented on top of his custom Model-2
> implementation
> but in truth could be easily adapted for use within your own environment.
>
> I don't have the book here with me at work, otherwise I would provide
> greater detail and a page reference.
>
> HTH,
> John
>
> -----Original Message-----
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 2:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Application Flow with Transaction Tokens?
>
>
> Greg Hess writes:
>  > I would like to ignore the fact that the double submit happened and
>  > just display the proper receipt. Should I forward the user to a
>  > "transaction already processed page" they will loose their proper
>  > receipt and never visually receive the receipt as I also send it
>  > by e-mail.
>
> I don't really have any practical advice, but I did want to mention that
> I've always wondered about the best way to resolve this sort of thing.
> So far my own double-submit cases have not involved a long-running
> process, and have been easy to resolve with an message page. If you come
> up with a solution for the long-processing scenario that you like, be
> sure to let us know. I'd like to see a how-to regarding this in
> documentation area. It's definately a thorny problem.
>
> -Ted.
>
>
> --
> Ted Husted,
> Struts in Action <http://husted.com/struts/book.html>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to