Browse Source

上传文件至 'out/artifacts/TestServlet09_war_exploded/pages/error'

2001010304 3 years ago
parent
commit
2d1a1bc6fe

+ 25 - 0
out/artifacts/TestServlet09_war_exploded/pages/error/error404.jsp

@@ -0,0 +1,25 @@
+<%--
+  Created by IntelliJ IDEA.
+  User: x'b'w
+  Date: 2021/7/1
+  Time: 15:49
+  To change this template use File | Settings | File Templates.
+--%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+<head>
+    <title>Title</title>
+    <style>
+        .shouye {
+            width: 200px;
+            height: 100px;
+            text-decoration: none;
+            text-align: center;
+        }
+    </style>
+</head>
+<body>
+<h1>访问的资源不存在!</h1>
+<a href="index.jsp" class="shouye">返回首页</a>
+</body>
+</html>

+ 25 - 0
out/artifacts/TestServlet09_war_exploded/pages/error/error500.jsp

@@ -0,0 +1,25 @@
+<%--
+  Created by IntelliJ IDEA.
+  User: x'b'w
+  Date: 2021/7/1
+  Time: 15:42
+  To change this template use File | Settings | File Templates.
+--%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+<head>
+    <title>Title</title>
+    <style>
+        .shouye {
+            text-decoration: none;
+            width: 200px;
+            height: 100px;
+            text-align: center;
+        }
+    </style>
+</head>
+<body>
+<h1>当前程序出现错误!</h1>
+<a href="index.jsp" class="shouye">返回首页</a>
+</body>
+</html>