作者回复: 这个不完全是 Spring Bean 单例造成的,而是的确是单例的实现
作者回复: org.springframework.web.util.WebAppRootListener 中的 API 上又写到: Some containers, e.g. Tomcat, do NOT keep system properties separate * per web app. You have to use unique "webAppRootKey" context-params per web app * then, to avoid clashes. Other containers like Resin do isolate each web app's * system properties: Here you can use the default key (i.e. no "webAppRootKey" * context-param at all) without worrying.