54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
|
|
<%@ 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>
|