springmvc中的controller是单例的

spring3中的controller默认是单例的 若是在@controller之前增加@Scope("prototype"),就可以改变单例模式为多例模式。但是我问了一些人,都说一般不这么做。

原文地址:https://www.cnblogs.com/Mr-Clint/p/3495671.html