上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页
摘要: 一.在windows10下,安装DockerDesktop: 1.检查windows版本为企业版或专业版,并开启Hyper-v系统设置:电脑的控制面板->程序->启用或关闭Windows功能->把Hyper-v勾上(开启失败,需要更新windows) 2.下载并安装Docker for Window 阅读全文
posted @ 2019-01-16 14:32 brx_blog 阅读(49908) 评论(0) 推荐(2)
摘要: 由于SpringBoot默认是以jar包的方式启动嵌入式的Servlet容器来启动SpringBoot的web应用,那么没有web.xml文件,如何配置我们的三大Web基础组件呢? 通过使用XXXRegistrationBean如何注册Servlet: @Bean public FilterRegi 阅读全文
posted @ 2019-01-15 14:19 brx_blog 阅读(285) 评论(0) 推荐(0)
摘要: 1.如何修改Servlet容器的相关配置: 第一种:在application.properties中修改和server有关的配置(ServerProperties提供); server.port=8081server.context‐path=/crudserver.tomcat.uri‐encod 阅读全文
posted @ 2019-01-15 13:55 brx_blog 阅读(586) 评论(0) 推荐(0)
摘要: springMvc下,配置i18n: 1.配置ResourceBundleMessageSource管理国际化资源文件 2.在页面使用fmt标签取出国际化内容 springBoot下,自动配置了i18n: 1.新建目录,存放login_zh_CN.properties (基础名_zh_CN.prop 阅读全文
posted @ 2019-01-14 16:56 brx_blog 阅读(1153) 评论(0) 推荐(0)
摘要: 单个文件设置 全局设置default settings 阅读全文
posted @ 2019-01-14 15:51 brx_blog 阅读(253) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/szzssz/article/details/81184793 阅读全文
posted @ 2019-01-14 10:22 brx_blog 阅读(1006) 评论(0) 推荐(0)
摘要: 基于监听的zk锁:L值就是建立有序节点后返回的序列号 基于异常的zk锁: pom.xml: 阅读全文
posted @ 2018-12-24 22:24 brx_blog 阅读(284) 评论(0) 推荐(0)
摘要: 使用JDBC连接MySql时出现:The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or 阅读全文
posted @ 2018-12-20 13:30 brx_blog 阅读(2176) 评论(0) 推荐(0)
摘要: 命令:https://www.cnblogs.com/allanli/p/git_commands.html fork自己仓库:https://blog.csdn.net/elegance_zf/article/details/50927589 idea处理冲突:https://blog.csdn. 阅读全文
posted @ 2018-12-18 12:31 brx_blog 阅读(114) 评论(0) 推荐(0)
摘要: 一、JWT基于token的认证流程: 二、JWT SDK的选取: https://jwt.io/ 三、编写JWT Helper: 1、获取token 设置密钥,规定算法,设置过期时间,设置发行方,生命参数calims(比如name,email可以唯一选定用户) 2、校验token 3.使用reids 阅读全文
posted @ 2018-12-12 17:32 brx_blog 阅读(548) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页