%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> <% session.removeAttribute("User"); if (session != null) { session.invalidate(); } %>