removeAttribute ()移除session中的某項屬性。 在spring例子中寵物商店的登出登入的程式碼: request.getSession().removeAttribute("userSession");
確定! 回上一頁