Spring Weblfow 2 - Double Submit
- by John W.
Hello All,
I am investigating a possible issue with double submits and I am looking at the possibilty of a double submit from a webflow execution.
I have read many times that webflow will handle double submits, there are plenty references here. However I then came across I a forum response on the spring source forums contradicting what I read saying,
SWF synchronizes on the conversation. Only one request will be processed at a time per conversation.
Take note that if you're using snapshots, then it's possible repeatedly clicking on the submit button will generate a second request. I would recommend setting history to invalidate or discard in the transition from your view-state.
We do have snapshots enabled but the book notes that using snapshots actually allows to solve the double submits. Does anyone have any insight on this?
Thanks.