四大域對象和9大隱式對象

1.四大做用域: 一.ServletContext(ServletContext類) ①在jsp中爲 application ②生命週期: 1.開始:web應用啓動時建立整個web中的ServletContext對象. 2.死亡:服務器關閉或Web應用被移除時,ServletContext跟着銷燬 ③做用範圍: 整個web應用中 ④做用(用途): 1.身爲做用域,存儲能夠做用於整個web應用範圍的
相關文章
相關標籤/搜索