Files
struts2-demo/web/error/404.jsp
2026-03-18 18:12:20 +08:00

48 lines
1.5 KiB
Plaintext

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 - Struts2 Demo Lab</title>
<style>
body {
margin: 0;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: "Aptos", "Segoe UI", "Microsoft YaHei", sans-serif;
background: linear-gradient(135deg, #122c63 0%, #1464c7 52%, #f68b1f 100%);
}
.card {
width: min(680px, calc(100vw - 32px));
background: rgba(255,255,255,0.95);
border-radius: 28px;
padding: 28px;
text-align: center;
box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}
h1 { margin: 0 0 12px; font-size: 52px; color: #1464c7; }
p { margin: 0; color: #56697f; line-height: 1.85; }
a {
display: inline-flex;
margin-top: 20px;
padding: 12px 18px;
border-radius: 999px;
background: #e8f2ff;
color: #1464c7;
text-decoration: none;
font-weight: 700;
}
</style>
</head>
<body>
<div class="card">
<h1>404</h1>
<p>The requested demo page was not found. Use the portal to jump back into the working Struts2 examples.</p>
<a href="../index.jsp">Back to portal</a>
</div>
</body>
</html>