Request 對象的主要方法

setAttribute(String name,Object):設置名字爲 name 的 request 的參數值 getAttribute(String name):返回由 name 指定的屬性值 getAttributeNames():返回 request 對象所有屬性的名字集合,結果是一個枚舉的實例 getCookies():返回客戶端的所有 Cookie 對象,結果是一個 Cookie
相關文章
相關標籤/搜索