jetty-ee10/jetty-ee10-demos/jetty-ee10-demo-jaas-webapp/src/main/webapp/logout.jsp
raw| 1 | <%@ page contentType="text/html; charset=UTF-8" %> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>Logout</title> |
| 5 | </head> |
| 6 | |
| 7 | <body> |
| 8 | <% |
| 9 | HttpSession s = request.getSession(false); |
| 10 | s.invalidate(); |
| 11 | %> |
| 12 | <h1>Logout</h1> |
| 13 | |
| 14 | <p>You are now logged out.</p> |
| 15 | <a href="auth.html"/>Login</a> |
| 16 | </body> |
| 17 | |
| 18 | </html> |