Hi All,

I was going through a question over SO
<http://stackoverflow.com/questions/616601/is-httpsession-thread-safe-are-set-get-attribute-thread-safe-operations>discussing
the thread safety of the HTTP Session and than read a good description
about the same over Java theory and practice: Are all stateful Web
applications 
broken<http://www.ibm.com/developerworks/library/j-jtp09238/index.html>

This was a good explanation about the Session and Thread, Eventually came
across a very good implementation of Spring MVC
AbstractController.html<http://static.springsource.org/spring/docs/current/javadoc-api//org/springframework/web/servlet/mvc/AbstractController.html>
which provides a boolean variable synchronizeOnSession when this is set, it
will use a lock to ensure that only one request on a session executes
concurrently.

Just wondering is there any such functionality in Struts2 else this feature
can be provided which seems quite good.



-- 
With Regards
Umesh Awasthi
http://www.travellingrants.com/

Reply via email to