会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
袋子里的袋鼠
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
下一页
2018年4月28日
Feign
摘要: Ribbon:从Eureka获取服务列表进行负载均衡,客户端负载均衡 Feign 是一个客户端负载均衡。Feign = Ribbon+okhttp 不需要ribbonjar包,feign自带<dependency><groupId>org.springframework.cloud</groupId
阅读全文
posted @ 2018-04-28 17:06 袋子里的袋鼠
阅读(258)
评论(0)
推荐(0)
2018年4月25日
微信公众号
摘要: 1.进入微信公众平台(https://mp.weixin.qq.com/) 》接口测试号申请 2.下载natapp(https://natapp.cn/)及其config.ini文件,复制authtoken的值到config.ini文件中,运行natapp.exe 3.关注微信公众平台的二维码账号
阅读全文
posted @ 2018-04-25 16:58 袋子里的袋鼠
阅读(364)
评论(0)
推荐(0)
2018年4月18日
Spring Boot+redis
摘要: 1.整合单机版 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-redis</artifactId> </dependency> application.properti
阅读全文
posted @ 2018-04-18 11:16 袋子里的袋鼠
阅读(146)
评论(0)
推荐(0)
2018年4月16日
Springboot+MyBatis
摘要: 1.集成MyBatis 1)引入依赖 基本依赖,jdk版本号; <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> <dependency> <groupI
阅读全文
posted @ 2018-04-16 16:22 袋子里的袋鼠
阅读(120)
评论(0)
推荐(0)
Springboot(6)JSP支持
摘要: Spring Boot添加JSP支持 1.新建一个Maven Web Project 2.在pom.xml文件添加依赖 <!-- spring boot parent节点,引入这个之后,在下面和spring boot相关的就不需要引入版本了; --> <parent> <groupId>org.sp
阅读全文
posted @ 2018-04-16 15:48 袋子里的袋鼠
阅读(190)
评论(0)
推荐(0)
Springboot(5)模板引擎
摘要: 1.thymeleaf (1)在pom.xml中引入thymeleaf; <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> <
阅读全文
posted @ 2018-04-16 15:19 袋子里的袋鼠
阅读(341)
评论(0)
推荐(0)
2018年4月13日
Springboot(4)全局异常捕捉,server配置文件
摘要: 1.在class注解上@ControllerAdvice 2.在方法上注解上@ExceptionHandler(value = Exception.class) 3.如果返回的是View,方法的返回值是ModelAndView;如果返回的是String或者是Json数据,那么需要在方法上添加@Res
阅读全文
posted @ 2018-04-13 14:47 袋子里的袋鼠
阅读(139)
评论(0)
推荐(0)
2018年4月11日
SpringBoot(3)-JdbcTemplate
摘要: 1.在pom.xml加入jdbcTemplate的依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> 如
阅读全文
posted @ 2018-04-11 14:49 袋子里的袋鼠
阅读(169)
评论(0)
推荐(0)
2018年3月9日
JavaScript杂
摘要: 1.<ul id="selOptions"></ul> 当使用js动态在ul标签中创建li标签,动态监听li标签方式: $("#selOptions").delegate("li","click", function(){ }); 2.判断键盘是否按下某个毽子: var nav4 = window.
阅读全文
posted @ 2018-03-09 19:33 袋子里的袋鼠
阅读(101)
评论(0)
推荐(0)
2017年12月29日
获取服务端数据 Post
摘要: 1,urlencoder发送数据 NameValuePair pair = new NameValuePair("cnname",appliName); PostMethod postMethod = new PostMethod(url) ;postMethod.setRequestHeader(
阅读全文
posted @ 2017-12-29 16:54 袋子里的袋鼠
阅读(650)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告