succeed.jsp 694 B

1234567891011121314151617181920212223242526
  1. <%@ page language="java" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme() + "://"
  6. + request.getServerName() + ":" + request.getServerPort()
  7. + path + "/";
  8. %>
  9. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  10. <html>
  11. <head>
  12. <script type="text/javascript">
  13. <c:if test="${message!=null}">
  14. alert("${message}");
  15. </c:if>
  16. <c:if test="${path!=null}">
  17. document.location.href="<%=path%>/${path}";
  18. </c:if>
  19. </script>
  20. </head>
  21. <body>
  22. </body>
  23. </html>