Notice
Recent Posts
Recent Comments
Link
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

WON.dev

customLogout.jsp 본문

SPRING/chapter04_MVC

customLogout.jsp

GAWON 2023. 7. 19. 09:22
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>    
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>

</head>
<body>
	<h1>Logout Page</h1>
	
	<form action="/customLogout" method="post">
		<input type="hidden" name="${_csrf.parameterName }" value="${_csrf.token}">
		<button>로그 아웃</button>
	</form>
</body>
</html>

'SPRING > chapter04_MVC' 카테고리의 다른 글

chapter04_MVC/pom.xml 라이브러리 추가https://mvnrepository.com  (0) 2023.07.19
web.xml  (0) 2023.07.19
customLogin.jsp  (0) 2023.07.19
accessError.jsp  (0) 2023.07.19
header.jsp  (0) 2023.07.19