1234567891011121314151617181920212223242526 |
- <%@ page language="java" pageEncoding="UTF-8"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%
- String path = request.getContextPath();
- String basePath = request.getScheme() + "://"
- + request.getServerName() + ":" + request.getServerPort()
- + path + "/";
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <script type="text/javascript">
- <c:if test="${message!=null}">
- alert("${message}");
- </c:if>
-
- <c:if test="${path!=null}">
- document.location.href="<%=path%>/${path}";
- </c:if>
- </script>
- </head>
-
- <body>
-
- </body>
- </html>
|