Wesley13 Wesley13
3年前
java抓取Https协议url地址的源码的方法
阅读本文之前,请先阅读下文,通过下文将获取到keystore文件:http://www.oschina.net/code/snippet\_273576\_18919(http://www.oschina.net/code/snippet_273576_18919)在此,感谢一下stevenliu(http://my.oschina.net/
虾米大王 虾米大王
3年前
java代码096
code096.jspEL表达式获取List集合的数据<%Listlist1newArrayList();list1.add("面包");list1.add("牛奶");list1.add("钞票");session.setAttribute("goods",list1);%<%Listlist2(List)session.getAttri
Wesley13 Wesley13
3年前
java web开发中需要弄清楚的一些概念
1.getParameter和getAttribute区别rquest.getParameter()获取POST/GET传递的参数值,返回的是String,用于读取提交的表单中的值;rquest.getAttribute()getAttribute是取得jsp中用setAttribute設定的attribute,返回的是Object
Stella981 Stella981
3年前
Redis的bitmap如何在Golang中使用
为什么需要Bitmapbitmap的主要应用场景为低空间的去重业务场景,比如活跃用户统计和用户行为统计。Golang如何操作funcmain(){rdb:redis.NewClient(&redis.Options{Addr:"127.0.0.1:
Stella981 Stella981
3年前
SpringBoot使用pagehelper注意事项
Spring和SpringBoot使用pagehelper的方式不太一样,从Spring到SpringBoot的朋友注意了!如果在SpringBoot中使用Spring加载pagehelper的方式,能获取数据,但是分页不准确。SpringBoot加载pagehelper步骤如下:maven搜索springbootpagehelper!
Easter79 Easter79
3年前
SpringBoot使用pagehelper注意事项
Spring和SpringBoot使用pagehelper的方式不太一样,从Spring到SpringBoot的朋友注意了!如果在SpringBoot中使用Spring加载pagehelper的方式,能获取数据,但是分页不准确。SpringBoot加载pagehelper步骤如下:maven搜索springbootpagehelper!
Stella981 Stella981
3年前
Redis数据库常用操作
keys\  查询全部keysabc\  模糊查询flushdb  删除当前数据库中的全部数据flushall  删除全部数据库中的数据setKEYVALUE  设置数据getKey  获取数据setuser{name:smith,age:10}  设置json结构setnxKEYVALUE  设置不重复s
Stella981 Stella981
3年前
Redis6.0主从、哨兵、集群搭建和原理
点击上方蓝色字体,选择“设为星标”回复”资源“获取更多资源!(https://oscimg.oschina.net/oscnet/aa43169456bef842077c6d2e173733676f1.jpg)!(https://oscimg.oschina.net/oscnet/3700a4487251437b712c
Wesley13 Wesley13
3年前
MySql远程访问及防火墙设置
1、MySql远程访问需要的操作:    1.1添加访问用户    1.2开放防火墙的端口号2、MySQL添加访问用户,增加权限:GRANTALLPRIVILEGES ON\.\TO'my\_test'@'%'IDENTIFIEDBY'my\_test';FLUSHPRIVILEGES;3、开放防
Wesley13 Wesley13
3年前
HDFS应用场景、原理、基本架构及使用方法
点击上方蓝色字体,选择“设为星标”回复”资源“获取更多资源!(https://oscimg.oschina.net/oscnet/9660fbcd016a4e279de75981fb08f0a8.jpg)!(https://oscimg.oschina.net/oscnet/bbbe38adc1614045