<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.3//EN"
"http://www.opensymphony.com/xwork/xwork-validator-1.0.3.dtd">
<validators>
<!-- Plain-Validator Syntax -->
<validator type="requiredstring">
<param name="fileName">username</param>
<message>用户名不能为空</message>
</validator>
<!-- Field-Validator Syntax -->
<field name="username">
<field-validator type="requiredstring">
<message>用户名不能为空</message>
</field-validator>
</field>
</validators>
loginAction-validation.xml
最新推荐文章于 2019-03-21 17:28:56 发布