2018年10月8日

vue。js的时间的格式化

摘要: formatDate : function(time) { if(time!=null){ var datetime = new Date(); datetime.setTime(time); var year = datetime.getFullYear(); var month = (datet 阅读全文

posted @ 2018-10-08 16:13 才小有 阅读(3066) 评论(0) 推荐(0) 编辑

字符串数组的比较(Arrays.equals)

摘要: 阅读全文

posted @ 2018-10-08 16:01 才小有 阅读(3604) 评论(0) 推荐(0) 编辑

git commit -m 与 git commit -am 的区别

摘要: 感谢图中博主,随风yy。 阅读全文

posted @ 2018-10-08 15:54 才小有 阅读(1394) 评论(0) 推荐(0) 编辑

无法保存注册表中的新环境变量,注册表可能已损坏

摘要: 配置新环境时遇到过,原理没太明白但把杀毒软件关闭后再保存就可以通过了。 阅读全文

posted @ 2018-10-08 15:51 才小有 阅读(1989) 评论(0) 推荐(0) 编辑

判断字符串为空方法(括号为注释,StringUtils的学习)

摘要: StringUtils.isNotBlank("字符串")( Checks if a CharSequence is not empty (""), not null and not whitespace only. StringUtils.isNotBlank(null) = false Stri 阅读全文

posted @ 2018-10-08 15:47 才小有 阅读(739) 评论(0) 推荐(0) 编辑

Java中从txt文件中读取和存储内容出现乱码

摘要: (1) 要统一编码,java工程的编码,txt文本编码,java工程中的java文本编码都统一为utf-8;(2) 利用IO文件流的 InputStreamReader()和OutputStreamWriter()这两个函数对文件进行读取和存储操作 图片是百度截图了别人的笔记,网址当时没复制真的很抱 阅读全文

posted @ 2018-10-08 15:46 才小有 阅读(3551) 评论(0) 推荐(0) 编辑

素数方法(thinking in java)

摘要: // control/Primes.java// TIJ4 Chapter Control, Exercise 4, page 139// Write a program that uses two nested for loops and the modulus operator (%)// to 阅读全文

posted @ 2018-10-08 15:39 才小有 阅读(139) 评论(0) 推荐(0) 编辑

==与equal的区别(thinking in java,解释的角度很有意思)

摘要: 1.==Integer n1 = new Integer(47);Integer n2 = new Integer(47); System.out.println(n1 == n2);System.out.println(n1 != n2); 2. equalsclass Value { int i 阅读全文

posted @ 2018-10-08 15:35 才小有 阅读(207) 评论(0) 推荐(0) 编辑

Failed to read schema document 'http://www.springframework.org/schema/mvc/spring-mvc.xsd'

摘要: Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:d 阅读全文

posted @ 2018-10-08 15:25 才小有 阅读(3156) 评论(0) 推荐(0) 编辑

项目启动时间超时问题

摘要: 1、双击Servers视图中的对应的Server,打开Server的属性界面。 2、Timeouts->Start属性中,将值45修改为足够大。 3、保存修改,重启动Tomcat。如果仍然报Timeout错误,继续上述步骤将Timeouts下的Start值改大。 学习自:https://blog.c 阅读全文

posted @ 2018-10-08 15:20 才小有 阅读(671) 评论(0) 推荐(0) 编辑

sql FLOAT字段使用like查询

摘要: eg: and a.sort LIKE 0.1 阅读全文

posted @ 2018-10-08 15:16 才小有 阅读(531) 评论(0) 推荐(0) 编辑

导航