posted 13 years ago
Hi,
Can someone please explain to me why flowScope.cart is null in the following code in Spring Webflow when 2 threads are hitting the flow at exactly the same time
here is the isContracthandset method that is called in the 'decideOnActivityType' action state:
and here is the output from the log:
I have a implemented an HttpSessionAttributeListener so I can confim that there are two shopping carts in separate sessions, but either externalContext.sessionMap.cart is returning null or the value being returned is not being assigned to flowScope.cart. I am usnig webflow 2 spring 2.5.6 and ognl2.6.9. In a single threaded environment i never get any problems.
Thanks John