自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (2)
  • 收藏
  • 关注

原创 opsForHash().scan方法中的cursor关闭

使用Cursor<Map.Entry<Object, Object>> cursor = jsonRedisTemplate.opsForHash() .scan(key, ScanOptions.scanOptions().match("123“).build());方法时,使用完cursor 需要关闭,否则将会一致占用连接,最终导致线程池崩溃。需要直接调用cursor.close()。try (Cursor<Map.Entry<Object, Object&g.

2020-12-05 15:53:46 1740

原创 json的一些格式转换

1. JSONArray的遍历,并获取其中的一个参数JSONArray arr= eventData..getJSONArray("data");List<String> list=new ArrayList<>();Iterator<Object> ite=arr.iterator();while (ite.hasNext()){ JSONObject obj=(JSONObject)ite.next(); list.add(obj.getS

2020-11-12 17:13:38 277

原创 Angularjs中使用ng-repeat动态生成radio选择时选中显示多行只显示选中一行

<table class=""> <tr ng-repeat=" conf in confs track by $index" ng-init="tIndex = $index"> <td > write <input type="radio" value="rw" ng-checked="$p...

2020-03-27 13:38:10 659

原创 angularjs中ui-select的使用总结

ui-select的选择有两种情况:单个的和multiple1,单个的<ui-select ng-model="command.value"> <ui-select-match> <span ng-bind="$select.selected.name"></span> </ui-select-matc...

2020-03-06 16:22:10 1788

原创 angularjs中directive的传值

angularjs中directive值需要传值时,必须要小写!!!!比如:<dire-test username="name1">可以正确传值,但是:<dire-test userName="name1">不能正确传值,获取userName的值是:undefined。...

2019-05-14 10:44:21 1026

原创 centos7环境下在myEclipse中安装jad反编译插件

1.下载jad (for linux)2.下载net.sf.jadclipse_3.3.0.jar3.将net.sf.jadclipse_3.3.0.jar copy到 xxx/myEclipse/dropins 下4.将下载后的jad copy到 xxx/jad下5.cd 到xxx/jad ,执行 ./jad ,若输出版本和帮助信息,则说明jad没有问题6.带开myEclipse,点击:Wind...

2018-04-20 10:56:27 687 1

Java+Web+开发实战经典(基础篇).

javaweb开发的基础篇,适合初学者,希望对初学者有一些帮助

2012-09-25

JAVAWEB王者归来.part1

JAVAWEB王者归来 part1

2012-09-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除