servlet的部分作用域和接口簡介

今天繼續紀錄學習Servlet,主要講解2個作用域和2個接口。 1.作用域--請求域(HttpServletRequest request) 作用範圍:只在一次請求中有效 4個方法:void setAttribute(String name,Object obj); Object setAttribute(String name) void removeAttribute(String name)
相關文章
相關標籤/搜索