自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 Spring Boot拦截器(Interceptor)详解

文章目录Interceptor 介绍Interceptor 作用自定义 Interceptor运行程序并测试效果应用性能监控登录检测参考资料Interceptor 介绍拦截器(Interceptor)同 Filter 过滤器一样,它俩都是面向切面编程——AOP 的具体实现(AOP切面编程只是一种编程思想而已)。你可以使用 Interceptor 来执行某些任务,例如在 Controller ......

2019-12-14 22:54:10 52900 3

原创 Spring Boot注解学习之@ServletComponentScan及扩展

文章目录@ServletComponentScanServlet通过代码注册Servlet使用注解注册ServletFilter使用@WebFilter 注解继承 HttpFilter实现 Filter 接口Listener@WebListener总结@ServletComponentScan源码如下:@Target({ElementType.TYPE})@Retention(Retent...

2019-12-12 18:59:48 2191 1

原创 Navicat连接Oracle数据库instant client package is required for basic and tns connection

第一次用 Navicat 尝试连接 Oracle 数据库,报下面的错:Cannot load OCI DLL 87:instant client package is required for basic and tns connection报错原因:Oracle 连接需要装 client 才能让第三方工具通过 OCI(Oracle Call Interface) 来连接。具体解决方案:...

2019-12-09 21:48:27 2051

原创 Spring Boot注解学习之@SpringBootApplication(二)

文章目录@ComponentScan属性basePackages 与 valuebasePackageClassesincludeFiltersexcludeFilters添加自定义过滤规则@Component@ComponentScanscontext:component-scanSpringBootApplication 注解中4个方法小结参考文献@ComponentScan在讲述 @Co...

2019-12-09 21:43:56 199

原创 Spring Boot注解学习之@SpringBootApplication(一)

文章目录@SpringBootApplication@Configuration@Configuration 加载 Spring 方法1、@Configuration 配置 Spring 并启动 Spring 容器2、@Configuration 启动容器+@Bean 注册 bean3、@Configuration 启动容器+@Component 注册 Bean4、使用 AnnotationCon...

2019-12-09 21:41:22 279

instantclient_11_2.rar

本机不装oracle,远程连接oracle时需要下载该文件,解压引用其中的dll文件。 欢迎访问个人博客主页:https://blog.csdn.net/Herishwater

2019-12-03

空空如也

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

TA关注的人

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