put()

put("索引值", "值"):將物件放到系統共用的記憶體空間中(可用來做全域變數用)

put("pageno", pageno); //將頁數暫存至全域變數

Hashtable ht = getCache(); //透過 getCache() 取得系統雜湊表

ht.remove("pageno"); //刪除全域變數