摘要:        
验证用户为中文: String passUserNO = serialLog.getBillKey().trim(); Pattern chinaP = Pattern.compile("^[\u4e00-\u9fa5]+"); Matcher chinaM = chinaP.matcher(passUserNO); boolean chinaKey = chinaM.matches(); if(chinaKey==true){ addActionError("用户总户号不能为中文!"); return businessDetails(); }//正则匹    阅读全文
posted @ 2011-09-07 16:57
C语言程序
阅读(199)
评论(0)
推荐(0)
        

 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号