08 2020 档案

摘要:在解析XML文件时: org.dom4j.DocumentException: Error on line 1 of document : An invalid XML character (Unicode: 0x5) was found in the element content of the 阅读全文
posted @ 2020-08-28 15:55 yshy 阅读(1826) 评论(1) 推荐(0)
摘要:String fileName; String userAgent = request.getHeader("user-agent").toLowerCase(); if(userAgent.contains("msie") || userAgent.contains("like gecko")){ 阅读全文
posted @ 2020-08-13 13:35 yshy 阅读(203) 评论(0) 推荐(0)
摘要:/** * 获取4位包括字母+数字的随机码 * @return */ public static String getRandomValidStr(){ String letters[] = {"A","B","C","D","E","F","G","H","I","J","K","L","M"," 阅读全文
posted @ 2020-08-04 15:03 yshy 阅读(425) 评论(0) 推荐(0)