java - Spring MVC - session and multi-thread -


reading spring mvc - session came across quote under sessions:

session access may not thread-safe, in particular in servlet environment. consider setting requestmappinghandleradapter's "synchronizeonsession" flag "true" if multiple requests allowed access session concurrently.

1.where can find example on how set requestmappinghandleradapter cover multi-thread?

2.how synchronizeonsession works exacly?

thanks.


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -