应用Spring MVC有一段时光了,之前一直应用Struts2,在struts2中action都是原型(prototype)的, 说是由于线程安全问题,对Spring MVC中bean默许都是(singleton)单例的,那末用@Controller注解标签注入的Controller类是单例实现的?应用Spring MVC有一段时光了,之前一直应用Struts2,在struts2中action都
应用Spring MVC有一段时光了,之前一直应用Struts2,在struts2中action都是原型(prototype)的, 说是由于线程安全问题,对Spring MVC中bean默许都是(singleton)单例的,那末用@Controller注解标签注入的Controller类是单例实现的?应用Spring MVC有一段时光了,之前一直应用Struts2,在struts2中action都