ServletContext

ServletContext對象:             特徵:代表整個應用,一個對象只有一個ServletContext對象,單實例。被這個應用的所用Servlet共享。          1、常用方法,把對象放到域裏面。                         servletContext.setAttribute(name, object);                    
相關文章
相關標籤/搜索