<%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> logout <% session.invalidate(); String message="You have successfully logged out."; response.sendRedirect("index.jsp?message="+message); %>