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

View File

@@ -0,0 +1,54 @@
<%@ 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;
min-width: 400px;
}
h1 { color: #11998e; margin-bottom: 20px; }
.data {
background: #f5f5f5;
padding: 20px;
border-radius: 8px;
text-align: left;
margin: 20px 0;
}
.data p { margin: 10px 0; }
.btn {
display: inline-block;
padding: 12px 30px;
background: #11998e;
color: white;
text-decoration: none;
border-radius: 25px;
}
</style>
</head>
<body>
<div class="card">
<h1>✅ 验证通过!</h1>
<div class="data">
<p><strong>用户名:</strong> <s:property value="username"/></p>
<p><strong>邮箱:</strong> <s:property value="email"/></p>
<p><strong>年龄:</strong> <s:property value="age"/></p>
<p><strong>简介:</strong> <s:property value="bio"/></p>
</div>
<a href="form.jsp" class="btn">继续测试</a>
</div>
</body>
</html>