Spring Weblfow 2 - Double Submit

Posted by John W. on Stack Overflow See other posts from Stack Overflow or by John W.
Published on 2010-04-07T15:22:08Z Indexed on 2010/04/07 15:23 UTC
Read the original article Hit count: 399

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about java

Related posts about spring