I would like to prevent optimistic locking exceptions when a user
double-clicks a link or double-submits a form. Is there anything
wrong with accomplishing this by synchronizing the HTTP session in my
ActionBean as shown below?
public Resolution execute() {
synchronized (getContext().getRequest().getSession()) {
...
}
}
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users