Update: web.xml and generated files
This commit is contained in:
21
web/error/404.jsp
Normal file
21
web/error/404.jsp
Normal file
@@ -0,0 +1,21 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>404 - 页面未找到</title>
|
||||
<style>
|
||||
body { font-family: sans-serif; background: #f5f5f5; display: flex; align-items: center; justify-content: center; min-height: 100vh; }
|
||||
.card { background: white; padding: 50px; border-radius: 15px; text-align: center; }
|
||||
h1 { color: #e53935; font-size: 4em; margin-bottom: 20px; }
|
||||
p { color: #666; }
|
||||
a { color: #667eea; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="card">
|
||||
<h1>404</h1>
|
||||
<p>页面未找到</p>
|
||||
<p><a href="../index.jsp">返回首页</a></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user