1 验证文件名必须和类名保持一致,后面增加_validation.xml.对于Logon,那么验证文件名应该为: Logon_validation.xml,位置与Logon.java在同一个目录下,区分大小写。To open the Logon form, the Welcome page refers to Logon_input.Since "input" is on a special list of methods that bypass validation, the validation framework is not invoked.Finding a Logon-validation.xml file, the framework creates a validation object for the class, based on the XML document.