上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 32 下一页
摘要: /** * 数组工具类 */ public class ArrayUtil { /** * 判断数组是否为空 * @param array * @return */ public static boolean isNotEmpty(Object[] array){ return !isEmpty(a 阅读全文
posted @ 2020-10-29 15:01 爱跳舞的程序员 阅读(86) 评论(0) 推荐(0) 编辑
摘要: package com.***.util; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.MapUtils; import java.util.Collec 阅读全文
posted @ 2020-10-29 14:56 爱跳舞的程序员 阅读(137) 评论(0) 推荐(0) 编辑
摘要: package com.***.util; /** * CastUtil * @description: 数据转型工具类 **/ public class CastUtil { /** * @Description: 转为String类型 * @Param: [obj] * @return: jav 阅读全文
posted @ 2020-10-29 14:55 爱跳舞的程序员 阅读(182) 评论(0) 推荐(0) 编辑
摘要: package com.***.util; /** * StringUtil * @description: 字符串工具类 **/ public class StringUtil { /** * 判断是否为空字符串最优代码 * @param str * @return 如果为空,则返回true */ 阅读全文
posted @ 2020-10-29 14:50 爱跳舞的程序员 阅读(163) 评论(0) 推荐(0) 编辑
摘要: package com.xxx.util; import java.io.PrintWriter; import java.io.StringWriter; import java.security.MessageDigest; import java.text.DecimalFormat; imp 阅读全文
posted @ 2020-10-29 14:48 爱跳舞的程序员 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 其他注解可以查看这个链接http://www.blogjava.net/supercrsky/articles/247449.html public class RESTUtil { protected static final Logger logger = LoggerFactory.getLo 阅读全文
posted @ 2020-10-29 10:10 爱跳舞的程序员 阅读(312) 评论(0) 推荐(0) 编辑
摘要: web.xml 配置 <servlet> <servlet-name>jerseyRestService</servlet-name> <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-clas 阅读全文
posted @ 2020-10-28 16:46 爱跳舞的程序员 阅读(437) 评论(0) 推荐(0) 编辑
摘要: //判断字符是否为空 function isEmpty(obj){ return (typeof obj 'undefined' || obj null || obj ""); } function isEmpty(str){ if(str != null && trim(str).length > 阅读全文
posted @ 2020-10-27 17:57 爱跳舞的程序员 阅读(2696) 评论(0) 推荐(0) 编辑
摘要: A Tomcat 8.0 installation is expected eclipse添加tomcat出现 The Apache Tomcat installation at this directory is version 8.5.6. A Tomcat 8.0 installation i 阅读全文
posted @ 2020-10-26 11:26 爱跳舞的程序员 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 1、MySQL 8.0 以上版本驱动包版本 mysql-connector-java-8.X.jar 2、com.mysql.jdbc.Driver 更换为 com.mysql.cj.jdbc.Driver。 3、MySQL 8.0 以上版本不需要建立 SSL 连接的,需要显式关闭。 useSSL= 阅读全文
posted @ 2020-10-26 10:19 爱跳舞的程序员 阅读(2156) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 32 下一页