Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

Sponsored Links

Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs

Java Tip 136: Protect Web application control flow

A strategy built on Struts manages duplicate form submission

  • Print
  • Feedback

Page 3 of 3

Preserve consistent flow control

Multiple form submissions may cause inconsistency in transactions and must be avoided. For that purpose, the Synchronizer Token pattern is a great help. This article's proposed strategy nicely complements this pattern in recovering the response to the original request and, as such, helps preserve a consistent flow of control in Web applications.

About the author

Romain Guay is a system designer and developer with Systematix Consulting. He has long-time experience with object-oriented designs, starting with Smalltalk. He has been involved in research projects and various developments in the manufacturing and government sectors.

Read more about Core Java in JavaWorld's Core Java section.

  • Print
  • Feedback

Resources