Re: WebMacro-user, Double Submit problem
Marc Palmer <[email protected]> Fri, 25 Nov 2005 17:10:27 +0000
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
Nick Sanderson wrote: >Hi Nikolaos > >The simple solution is to use a post to submit the data but to redirect >to the display page. That way the post is not repeated as the page has >been reached as a result of a GET. > > Yes, although this doesn't prevent double-post from the end-user choosing "refresh" or pressing POST again after going back to the form page. For that you need ticketing. I would strongly suggest looking at Spring Web Flow which can solve all these problems for you. cheers ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click