上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 87 下一页
摘要: import sun.misc.BASE64Decoder; public class Base64 { /** * 字符串转Base64编码 * @param s * @return */ public static String getBASE64(String s) { if ... 阅读全文
posted @ 2018-06-20 17:36 lshan 阅读(2738) 评论(0) 推荐(0)
摘要: 1.转PDF test 工具类: 阅读全文
posted @ 2018-06-20 16:31 lshan 阅读(836) 评论(0) 推荐(0)
摘要: 指定jdk 的版本: <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreemen 阅读全文
posted @ 2018-06-18 22:49 lshan 阅读(173) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-06-18 21:02 lshan 阅读(65) 评论(0) 推荐(0)
摘要: SimpleDateFormat担当重任,怎样格式化都行 import java.util.Date; import java.text.SimpleDateFormat; public class Demo { public static void main(String[] args) { Date now=new Date(); SimpleDateFormat f=newSi... 阅读全文
posted @ 2018-06-18 14:18 lshan 阅读(1431) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-06-18 00:59 lshan 阅读(59) 评论(0) 推荐(0)
摘要: 语法: <aop:config> <!-- 配置多个切点,&& || ! --> <aop:pointcut id="pc" expression="execution(public * com.wtas.*.service.*.*(..)) || execution(public * com.wt 阅读全文
posted @ 2018-06-16 17:38 lshan 阅读(704) 评论(0) 推荐(0)
摘要: 1. springMVc的拦截器 3.使用拦截器,检测每个方法的执行时间 4 过滤器 实现耗时 5. 切片 的使用 实现 耗时 阅读全文
posted @ 2018-06-16 16:58 lshan 阅读(224) 评论(0) 推荐(0)
摘要: @Data 注解引出的 lombok 小辣椒 今天在看代码的时候, 看到了这个注解, 之前都没有见过, 所以就查了下, 发现还是个不错的注解, 可以让代码更加简洁. 这个注解来自于 lombok,lombok 能够减少大量的模板代码,减少了在使用@Data 注解时, 需要导入lombok.Data, 阅读全文
posted @ 2018-06-15 12:19 lshan 阅读(259) 评论(0) 推荐(0)
摘要: 问题:rror Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that us 解决方法: Error Code: 1175. You are using safe 阅读全文
posted @ 2018-06-15 11:38 lshan 阅读(4587) 评论(0) 推荐(0)
上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 87 下一页