Struts 2 - > validate and interceptor
1.Validate
1.1 Rewriting validate Method
For example, do the login page on the front desk
action:
1.2 checkout framework
1. Write a checking rule file
It is a typical XML file in the format of ActionName-validation.xml
The validation file needs to add a dtd constraint description
The dtd description is in xwork-core
<!DOCTYPE va ...
Posted by KGodwin on Mon, 10 Dec 2018 10:09:06 -0800