摘要: 日志输出实现类 import org.apache.log4j.Logger; import java.io.PrintStream; /** * 扩展PrintStream,用于输出Java Mail打印Debug日志 * <p> */ public class MailPrintStream e 阅读全文
posted @ 2023-08-28 16:01 将来的老大爷 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 删除注册表中 HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity\Identities 下的有登录失败账号的文件夹即可 阅读全文
posted @ 2022-07-15 08:48 将来的老大爷 阅读(521) 评论(0) 推荐(0) 编辑
摘要: public <K, V> Map<K, V> typeConversionMap(Object obj, Class<K> tClass, Class<V> vClass) { HashMap<K, V> result = new HashMap<>(); if (obj instanceof M 阅读全文
posted @ 2022-05-25 09:16 将来的老大爷 阅读(40) 评论(0) 推荐(0) 编辑
摘要: long timestamp = Instant.now().toEpochMilli(); long timestamp = LocalDateTime.now().toInstant(ZoneOffset.ofHours(8)).toEpochMilli(); System.out.printl 阅读全文
posted @ 2021-11-18 15:19 将来的老大爷 阅读(1481) 评论(0) 推荐(0) 编辑
摘要: Object attributeObject = request.getAttribute(HandlerMapping.URI_TEMPLATE_VARIABLES_ATTRIBUTE); Map<String, Object> restParamsMap = typeConversionMap( 阅读全文
posted @ 2021-11-11 15:39 将来的老大爷 阅读(256) 评论(0) 推荐(0) 编辑
摘要: Duration.between 只能判断包含秒的时间,也就是参数只能是 LocalDateTime ChronoUnit 可以判断 LocalDate 阅读全文
posted @ 2021-10-26 11:43 将来的老大爷 阅读(44) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.web.util.UriComponentsBuilder; public static void main(String[] args) { String uri = "http://my.test.com/test?param1=ab&par 阅读全文
posted @ 2021-04-26 15:09 将来的老大爷 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 阿里巴巴Java开发手册V1.7(嵩山版) 阅读全文
posted @ 2020-10-27 08:41 将来的老大爷 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 阿里巴巴Java开发手册V1.6(泰山版) 阅读全文
posted @ 2020-05-09 20:46 将来的老大爷 阅读(596) 评论(0) 推荐(1) 编辑
摘要: Http Basic 简介HTTP 提供一个用于权限控制和认证的通用框架。最常用的 HTTP 认证方案是 HTTP Basic authentication。Http Basic 认证是一种用来允许网页浏览器或其他客户端程序在请求时提供用户名和口令形式的身份凭证的一种登录验证方式。 优点基本认证的一 阅读全文
posted @ 2019-12-26 17:12 将来的老大爷 阅读(1263) 评论(0) 推荐(0) 编辑
摘要: 阿里巴巴Java开发手册V1.5(华山版) 阅读全文
posted @ 2019-06-21 14:06 将来的老大爷 阅读(1175) 评论(0) 推荐(1) 编辑
摘要: iframe 阅读全文
posted @ 2019-04-01 08:38 将来的老大爷 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 阿里巴巴Java开发手册(详尽版) 阿里巴巴Java开发手册V1.5(华山版) 阅读全文
posted @ 2019-01-02 17:14 将来的老大爷 阅读(2789) 评论(3) 推荐(2) 编辑
摘要: 1.使用service_name,配置方式:jdbc:oracle:thin:@//<host>:1521/net_grid 2.使用SID,配置方式:jdbc:oracle:thin:@//<host>:1521/netgrid 3.使用SID,配置方式:jdbc:oracle:thin:@<ho 阅读全文
posted @ 2018-07-09 09:55 将来的老大爷 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 1 public enum OType { 2 LOGIN { 3 public String getDesc() { 4 return "登录"; 5 ... 阅读全文
posted @ 2018-07-03 09:03 将来的老大爷 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 参考地址:http://forum.jquery.com/topic/ui-dialog-form-add-a-button-with-an-id#14737000002068724 阅读全文
posted @ 2018-04-28 17:50 将来的老大爷 阅读(909) 评论(0) 推荐(0) 编辑
摘要: 前提条件添加环境变量 ORACLE_HOSTNAME=<主机名:如:DESKTOP-P6J1a>ORACLE_SID=orclORACLE_UNQNAME=orcl 执行删除命令 C:\Users\User1> emca -deconfig dbcontrol db -repos drop 执行创建 阅读全文
posted @ 2018-04-27 16:22 将来的老大爷 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 在自己建的domain/bin/startWebLogic.sh 找到JAVA_OPTIONS="${SAVE_JAVA_OPTIONS}",添加下列标色部分后重启即可 JAVA_OPTIONS="${SAVE_JAVA_OPTIONS} -Dfile.encoding=GBK" 转自:http:/ 阅读全文
posted @ 2018-03-21 17:44 将来的老大爷 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 苹果开发者账号,分为两种。 第一种,Enterprise Program,为公司内部员工打包测试用,不可公开下载,售价$299。 第二种,Developer Program,对外发布。售价$99,约合¥688。 这里申请的是$99的Developer Program证书。 前提是你有apple id 阅读全文
posted @ 2017-05-12 11:33 将来的老大爷 阅读(1873) 评论(0) 推荐(0) 编辑
摘要: 只需在maven的setting.xml文件上加入如下节点: setting.xml文件放在maven运行文件夹的conf文件夹下。 如果不想像上面增加额外的节点,可以通过以下的命令启动: 本文转自:http://www.cnblogs.com/EasonJim/p/6358609.html 阅读全文
posted @ 2017-03-20 18:13 将来的老大爷 阅读(3252) 评论(0) 推荐(0) 编辑

如果本页面列出的内容侵犯了您的权益,请告知。
知识共享许可协议
996.icu