且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用Struts 2验证HTML标记

更新时间:2023-01-07 19:47:42

您必须使用一些Struts2标签.如果您不想使用<s:textfield>标记,请使用<s:fielderror>标记,它会显示字段错误.

You have to use some Struts2 tags. If you do not want to use <s:textfield> tag then use <s:fielderror> tag which renders field errors.