Why PRG pattern rather than others?
问题 I need to prevent duplicate form submissions for my customer's website. we need some form data from user for order confirm page. we use load balancing for web server. Approach 1 : Post/Redirect/Get (PRG pattern : http://en.wikipedia.org/wiki/Post/Redirect/Get) I was trying to use PRG pattern at first. in this case, I think I need to deal with session(or spring flashmap) across multiple web server. Approach 2 : Disable refresh on client. one of my colleague suggested this approach. Approach 3