问题,Spring管理的某个Bean需要使用多例在使用了Spring的web工程中, ... 首先我们想到的是在Service层加注解 @Scope("prototype") ,如下所示:
確定! 回上一頁