摘要:
做一个Login Demo的时候,写了如下代码: protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { super. 阅读全文
摘要:
1。 loginAction.java 建cookie,取cookie //若cookie有用户名,提取记住的用户名 Cookie[] cookies = request.getCookies(); if (cookies != null) { for (Cookie cookie : cookie 阅读全文