Spring的scope="prototype"属性

spring 默认scope 单例模式
样只会创建Action对象
每次访问都Action对象数据安全
struts2 要求 每次次访问 都对应Action
scope="prototype" 保证 当有请求时候 都创建Action对象

原文地址:https://www.cnblogs.com/ejllen/p/3686086.html