码迷,mamicode.com
首页 >  
搜索关键字:contex    ( 2292个结果
maven常用Java配置
spring mvc pom.xml <!--日志--> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.21</version> </dependency> ...
分类:编程语言   时间:2020-03-22 18:11:23    阅读次数:71
21、springboot——使用外置的tomcat服务器
嵌入式Servlet容器:应用打成可执行的j ar 优点:简单、便携; 缺点:默认不支持JSP、优化定制比较复杂 使用定制器【ServerProperties、自定义 EmbeddedServletContainerCustomizer】, 自己编写嵌入式Servlet容器的创建工厂 Embedde ...
分类:编程语言   时间:2020-03-21 19:44:38    阅读次数:95
ssh整合
一. 步骤 1.加入Spring 1.1加入jar包 1.2配置web.xml配置文件 <!-- 配置Spring的核心监听器 --> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener ...
分类:其他好文   时间:2020-03-21 15:00:04    阅读次数:79
spring-cloud-alibaba-gateway
首先导入pom依赖 <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactI ...
分类:编程语言   时间:2020-03-21 11:26:41    阅读次数:105
Promethues(二)安装
二进制方式 1. 下载安装包 "最新安装包" 1. 查看解压后的文件目录 consoles: prometheus自带的一些view对应的html文件 prometheus: 一个可执行文件,是Prometheus server的启动文件 prometheus.yml: 默认的配置文件 data: ...
分类:其他好文   时间:2020-03-20 17:13:42    阅读次数:84
Quartz入门 (四) 监听器Listener
Quartz的监听器用于当任务调度中你所关注事件发生时,能够及时获取这一事件的通知。类似于任务执行过程中的邮件、短信类的提醒。Quartz 的监听器有Job监听器,Trigger监听器, Scheduler监听器,对不同层面进行监控。三者的使用方法类似,在开始介绍三种监听器之前,需要明确两个概念:全 ...
分类:其他好文   时间:2020-03-19 21:24:03    阅读次数:78
AspNetCore3.1_Secutiry源码解析_2_Authentication_核心对象
系列文章目录 "AspNetCore3.1_Secutiry源码解析_1_目录" "AspNetCore3.1_Secutiry源码解析_2_Authentication_核心项目" AspNetCore3.1_Secutiry源码解析_3_Authentication_Cookies AspNet ...
分类:Web程序   时间:2020-03-18 23:50:14    阅读次数:103
mybatis执行流程
mybatis执行流程 ? 记录一下自己对mybatis的理解和心得.代码是自己手写的一个mybatisDemo,比较简陋,只有一个简单的查询语句,但是麻雀虽小五脏俱全,可以理解整个mybatis的执行流程. 重要说明 :本文讲述的只是本人手写的简易mybatisDemo,可以对理解mybatis的 ...
分类:其他好文   时间:2020-03-18 15:49:06    阅读次数:69
springboot 2.0 整合 RestTemplate
首先导入springboot 的 web 包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> restTem ...
分类:编程语言   时间:2020-03-17 21:07:32    阅读次数:73
bean通过反射重写toString
思路1: 网上一大把,通过this.getClass().getDeclaredFields();获得所有属性,禁掉访问限制,最终输出属性值 // public String toString2() {// System.out.println("enter sourceObj toString.. ...
分类:其他好文   时间:2020-03-17 19:19:28    阅读次数:64
2292条   上一页 1 ... 28 29 30 31 32 ... 230 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!