1.Servlet:默认在第一次访问时被创建,创建一次,单实例对象
2.Action:访问时被创建,每次访问action的时候,都会创建action对象,创建多次,多实例对象

posted on 2020-10-02 21:29  凸凸大军的一员  阅读(117)  评论(0编辑  收藏  举报