feat: add struts learning tracker

This commit is contained in:
Codex
2026-03-19 13:53:49 +08:00
parent fba7b0497f
commit 5466fb1ffd
3 changed files with 146 additions and 0 deletions

View File

@@ -81,6 +81,19 @@
<a class="link-btn" href="form.jsp">Try validation again</a>
<a class="link-btn" href="../index.jsp">Back to portal</a>
</div>
<div class="stats">
<div class="stat">
<span>Rule path</span>
<strong>validate()</strong>
The action accepted every field, so execution continued to the success result.
</div>
<div class="stat">
<span>Teaching focus</span>
<strong>Input before logic</strong>
Compare this page with the form error state to explain why validation runs before business output.
</div>
</div>
</div>
</body>
</html>