logout.jsp

来自「一些的javaee5的实用代码」· JSP 代码 · 共 22 行

JSP
22
字号
<html>
  <head>
    <title>Form Based Authentication Logout Page</title>
  </head>

  <blockquote>
  
  <h1> Goodbye <%= request.getRemoteUser() %>! </h1>
  
  <% session.invalidate(); %>
  
  <p> You are now logged out. 
  
  <p> Click here to <a href=<%= "\""+request.getContextPath()+"\""%>>revisit 
  the site</a>. 
  
  </blockquote>
  </body>
  
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?