<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ page isErrorPage="true" %>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<meta http-equiv="content-language" content="ko">
<title>ERROR</title>
<script type="text/javascript" src="/publish/js/jquery-3.5.0.js"></script>
<script type="text/javascript">

$(document).ready(function(){
	insertLog();
});

function insertLog() {
	
	
	$.ajax({
		type: "POST",
		url: "/web/error/errorLogInsert.do",
		dataType:'json',
		processData: false,
		contentType: false,
		cache: false,
		success: function (returnData, status) {
			if(status == 'success'){
				if(returnData.result =='success'){
					console.log("등록되었습니다.");
				}
			}else{
				console.log("등록에 실패하였습니다.");
			}
		},
		error: function (e) {
			console.log("ERROR : ", e);
		}
	});
}
</script>

</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
	<td width="100%" height="100%" align="center" valign="middle" style="padding-top:150px;"><table border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td><span style="font-family:Tahoma; font-weight:bold; color:#000000; line-height:150%; width:440px; height:70px;">오류발생 알림화면(허용되지 않는 요청을 하셨습니다)</span>
		<%-- <br> 에러 타입 : <%= exception.getClass().getName() %><br> 에러 메세지 : <%= exception.getMessage() %> --%>
		</td>
	  </tr>
	</table></td>
  </tr>
</table>
</body>
</html>