ClassPathXmlApplicationContext: 它是从类的根路径下加载配置文件 推荐使用这种 FileSystemXmlApplicationContext: 它是从磁盘路径上加载配置文件,配置文件可以在磁盘的任意位置。 AnnotationConfigApplicationCont ...
分类:
移动开发 时间:
2020-07-12 23:59:22
阅读次数:
93
一、 @RequestMapping("/testVoid") public String testVoid(HttpServletRequest request){ //转发方式一 return "forward:/WEB-INF/pages/success.jsp"; //转发到指定的页面并能获 ...
分类:
编程语言 时间:
2020-07-12 22:06:29
阅读次数:
82
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/schema/mvc" ...
分类:
编程语言 时间:
2020-07-12 20:48:22
阅读次数:
77
配置: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs ...
分类:
数据库 时间:
2020-07-12 17:11:27
阅读次数:
59
TLS 介绍 TLS(Transport Layer Security)是一个保证信息安全的应用层协议。它的前身是 SSL(Secure Socket Layer)。它是一套定义了如何对由 TCP 传输的报文进行加密的协议。 HTTP 协议传输报文时,数据是明文传递的,意味着你和服务器之间的通信是可 ...
分类:
其他好文 时间:
2020-07-12 14:00:55
阅读次数:
59
[23.4. 流式构建API如果需要创建一个分层的ApplicationContext(多个具有父子关系的上下文),或只是喜欢使用流式(fluent)构建API,那你可以使用SpringApplicationBuilder。 SpringApplicationBuilder允许你以链式方式调用多个方... ...
分类:
移动开发 时间:
2020-07-12 10:31:20
阅读次数:
87
1. 加入Spring-test依赖 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>5.2.7.RELEASE</version> </depende ...
分类:
编程语言 时间:
2020-07-12 01:13:35
阅读次数:
65
Sw-port-security 交换机端口安全 1什么是交换机端口安全 当一个网络的接入层固定下来了后,针对接入层设备上的接口做MAC管理, 2具体有什么用? 针对于非法的MAC,直接将端口进行disable 3应该配置在哪里? 配置在所有的ACCESS接口,也就是所有连接终端的接口上(所以第一步 ...
分类:
其他好文 时间:
2020-07-12 01:07:51
阅读次数:
127
CVPR 2020 Part-aware Context Network for Human Parsing Hierarchical Human Parsing with Typed Part-Relation Reasoning Self-Learning with Rectification ...
分类:
其他好文 时间:
2020-07-11 22:38:00
阅读次数:
160
RSA是一种使用非对称加密的算法,公钥加密,私钥解密,私钥加签,公钥验签,加密是为了防止信息被泄露,而签名是为了防止信息被篡改。 package com.qt.rsautil; import java.security.KeyFactory; import java.security.KeyPair ...
分类:
其他好文 时间:
2020-07-11 19:37:43
阅读次数:
65