06 2019 档案
摘要:https://blog.csdn.net/andyzhaojianhui/article/details/80776712
阅读全文
摘要:Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.ge
阅读全文
摘要:spring @component的作用详细介绍 1、@controller 控制器(注入服务) 2、@service 服务(注入dao) 3、@repository dao(实现dao访问) 4、@component (把普通pojo实例化到spring容器中,相当于配置文件中的<bean id=
阅读全文
摘要:class Test{ public static void main(String[] args){ //当值在[-128,127]中,不创建新的Integer Integer f1 = 100,f2 = 100,f3 = 150, f4 = 150; System.out.println(f1 == f...
阅读全文
摘要:方法一:通过Calendar类得日期比较,在这需要考虑闰年和平年,也要考虑跨年份 方法二:转化为毫秒数,再除以一天得毫秒数
阅读全文
摘要:原因: Ajax下载文件的这种方式本来就是禁止的。出于安全因素的考虑,javascript是不能够保存文件到本地的, 所以ajax考虑到了这点,只是接受json,text,html,xml格式的返回值,二进制的返回格式就会抛出这个异常。 因为response原因,一般请求浏览器是会处理服务器输出的r
阅读全文
摘要:1. 开放定址法 2.再哈希法 3.链地址法 4.建立公共溢出区 参考:https://blog.csdn.net/PORSCHE_GT3RS/article/details/79445707 https://zhuanlan.zhihu.com/p/29520044 https://blog.cs
阅读全文