Struts2和Spring整合, Action单例和多例的问题

来源:互联网 发布:pspice仿真软件下载 编辑:程序博客网 时间:2024/05/21 10:20
Struts2和Spring整合后, 使用注解开发,无论是否在Action类上加@Controller和@Scope("prototype")都是多例的, 即使加上@Scope("singleton") , 经测试Action依然是多例的.
原创粉丝点击