Files
struts2-demo/web/user/success.jsp
2026-03-18 15:18:30 +08:00

44 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
<head>
<title>登录成功 - Struts2 Demo</title>
<style>
body {
font-family: 'Segoe UI', sans-serif;
background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.card {
background: white;
padding: 40px;
border-radius: 15px;
text-align: center;
box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}
h1 { color: #11998e; font-size: 3em; margin-bottom: 20px; }
p { color: #666; font-size: 1.2em; margin-bottom: 30px; }
.btn {
display: inline-block;
padding: 12px 30px;
background: #11998e;
color: white;
text-decoration: none;
border-radius: 25px;
transition: transform 0.3s;
}
.btn:hover { transform: scale(1.05); }
</style>
</head>
<body>
<div class="card">
<h1>✅ 登录成功!</h1>
<p>欢迎回来,<s:property value="username"/></p>
<a href="../index.jsp" class="btn">返回首页</a>
</div>
</body>
</html>