java基础-servlet-2:生命周期

一、加载(class load)对象

二、实例化it

三、init()class

四、doGet()服务端

五、destroy实例化

只有一个对象存在于服务端提供服务。再次访问,不会再起新对象。实例

相关文章
相关标签/搜索