Wesley13 Wesley13
4年前
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
4年前
java web开发中需要弄清楚的一些概念
1.getParameter和getAttribute区别rquest.getParameter()获取POST/GET传递的参数值,返回的是String,用于读取提交的表单中的值;rquest.getAttribute()getAttribute是取得jsp中用setAttribute設定的attribute,返回的是Object
Stella981 Stella981
4年前
SpringBoot使用pagehelper注意事项
Spring和SpringBoot使用pagehelper的方式不太一样,从Spring到SpringBoot的朋友注意了!如果在SpringBoot中使用Spring加载pagehelper的方式,能获取数据,但是分页不准确。SpringBoot加载pagehelper步骤如下:maven搜索springbootpagehelper!
Wesley13 Wesley13
4年前
MySQL 查询大于“时间字段”15分钟、1小时、1天的数据
以下代码中times为时间字段,类型为datetime1.查询大于times十五分钟的数据//大于号后面都是获取times十五分钟后的时间select\fromtablewherenow()SUBDATE(times,interval15minute);select\fromtablewherenow()S
Easter79 Easter79
4年前
SpringBoot使用pagehelper注意事项
Spring和SpringBoot使用pagehelper的方式不太一样,从Spring到SpringBoot的朋友注意了!如果在SpringBoot中使用Spring加载pagehelper的方式,能获取数据,但是分页不准确。SpringBoot加载pagehelper步骤如下:maven搜索springbootpagehelper!
Stella981 Stella981
4年前
Redis数据库常用操作
keys\  查询全部keysabc\  模糊查询flushdb  删除当前数据库中的全部数据flushall  删除全部数据库中的数据setKEYVALUE  设置数据getKey  获取数据setuser{name:smith,age:10}  设置json结构setnxKEYVALUE  设置不重复s
Stella981 Stella981
4年前
Python中的property()函数
property() 函数的作用是在新式类中返回属性值1.语法: classproperty(fget,fset,fdel,doc)2.参数:fget获取属性值的函数fset设置属性值的函数fdel删除属性值函数doc属性描述信息
Stella981 Stella981
4年前
Redis6.0主从、哨兵、集群搭建和原理
点击上方蓝色字体,选择“设为星标”回复”资源“获取更多资源!(https://oscimg.oschina.net/oscnet/aa43169456bef842077c6d2e173733676f1.jpg)!(https://oscimg.oschina.net/oscnet/3700a4487251437b712c
Wesley13 Wesley13
4年前
HDFS应用场景、原理、基本架构及使用方法
点击上方蓝色字体,选择“设为星标”回复”资源“获取更多资源!(https://oscimg.oschina.net/oscnet/9660fbcd016a4e279de75981fb08f0a8.jpg)!(https://oscimg.oschina.net/oscnet/bbbe38adc1614045