flight-application/src/main/webapp/WEB-INF/jsp/header.jsp

9 lines
288 B
Plaintext
Raw Normal View History

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<c:if test="${not empty sessionScope.user}">
<form action="${pageContext.request.contextPath}/logout" method="post">
<button type="submit">Logout</button>
</form>
</c:if>