<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>alertPage</title>
</head>
<body>
    <script>
        var message = "<c:out value='${msg}'/>";
        var url = "<c:out value='${url}'/>";
        alert(message);
        document.location.href = url;
    </script>
</body>
</html>