Update: struts config, new actions and views
This commit is contained in:
21
target/struts2-scaffold-1.0.0/error-invalid-input.jsp
Normal file
21
target/struts2-scaffold-1.0.0/error-invalid-input.jsp
Normal file
@@ -0,0 +1,21 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>参数无效</title>
|
||||
<style>
|
||||
body { font-family: Arial, sans-serif; max-width: 600px; margin: 100px auto; padding: 20px; text-align: center; }
|
||||
h1 { color: #e74c3c; }
|
||||
.error-box { background: #fdeaea; border: 1px solid #e74c3c; padding: 30px; border-radius: 10px; }
|
||||
.info { color: #7f8c8d; margin-top: 20px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="error-box">
|
||||
<h1>🚫 检测到无效参数</h1>
|
||||
<p>您的请求包含可疑内容,已被拦截。</p>
|
||||
<p class="info">此页面由 ValidationInterceptor 拦截器生成</p>
|
||||
</div>
|
||||
<p><a href="learn">← 返回学习中心</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user