Update: web.xml and generated files

This commit is contained in:
likingcode
2026-03-18 15:18:30 +08:00
parent fb9d2d1206
commit 1f60832445
20 changed files with 2071 additions and 2 deletions

44
web/user/success.jsp Normal file
View File

@@ -0,0 +1,44 @@
<%@ 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>