Files
struts2-demo/web/error/500.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>500 - 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, #7f1d1d 0%, #dc2626 55%, #fee2e2 100%);
}
.card {
width: min(700px, 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: #b91c1c; }
p { margin: 0; color: #6d4b4b; line-height: 1.85; }
a {
display: inline-flex;
margin-top: 20px;
padding: 12px 18px;
border-radius: 999px;
background: #fee2e2;
color: #b91c1c;
text-decoration: none;
font-weight: 700;
}
</style>
</head>
<body>
<div class="card">
<h1>500</h1>
<p>The demo hit an internal error. Return to the portal and try one of the working examples again.</p>
<a href="../index.jsp">Back to portal</a>
</div>
</body>
</html>