上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 46 下一页
摘要: /** * IOC容器Bean对象实例化方法 * 1、构造器实例化:Bean对象需要空构造 * 2、静态工厂实例化 * 3、实例化工厂实例化 */ public void fun(){ BeanFactory factory= new ClassPathXmlApplicationContext(" 阅读全文
posted @ 2022-07-03 10:45 轩哥聊码 阅读(49) 评论(0) 推荐(0)
摘要: public void fun0(){ //Spring配置文件加载:得到Spring上下文环境 //单个配置文件 ApplicationContext ac=new ClassPathXmlApplicationContext("spring.xml"); //多配置文件 1.可变参数 传入多个文 阅读全文
posted @ 2022-07-03 10:44 轩哥聊码 阅读(39) 评论(0) 推荐(0)
摘要: 1.新建web项目 2.修改pom.xml 从mvn中找spring依赖 <!-- 添加Spring依赖--> <!-- https://mvnrepository.com/artifact/org.springframework/spring-context --> <dependency> <g 阅读全文
posted @ 2022-07-02 11:33 轩哥聊码 阅读(61) 评论(0) 推荐(0)
摘要: 1.Spring容器机制 容器是Spring实现功能的基础,所有配置过的类被纳入容器,通过容器对象管理bean。 1.1 BeanFactory接口 最基本的容器接口,定义创建和管理bean的方法 1.2 ApplicationContext接口 建立在BeanFactory接口之上 1.3 容器启 阅读全文
posted @ 2022-07-02 10:57 轩哥聊码 阅读(45) 评论(0) 推荐(0)
摘要: 什么是docker docker是一个用Go语言实现的开源项目,可以让我们方便的创建和使用容器,docker将程序以及程序所有的依赖都打包到docker container,这样你的程序可以在任何环境都会有一致的表现,这里程序运行的依赖也就是容器就好比集装箱,容器所处的操作系统环境就好比货船或港口, 阅读全文
posted @ 2022-06-13 20:30 轩哥聊码 阅读(66) 评论(0) 推荐(0)
摘要: 4.1 对称加密 4.1.1 加密命令:openssl enc -e -des3 -a -salt -in lx.txt -out test.cipher 4.1.2 解密命令:openssl enc -d -des3 -a -salt -in test.cipher -out testout.tx 阅读全文
posted @ 2022-06-08 22:55 轩哥聊码 阅读(76) 评论(0) 推荐(0)
摘要: #说明:本次实验采用系统为CentOs8.2版本 4.1 Nginx 安装和部署 4.1.1 Nginx安装:sudo yum install nginx 4.1.2 Nginx启动:sudo systemctl enable nginx,sudo systemctl start nginx 4.1 阅读全文
posted @ 2022-06-08 00:10 轩哥聊码 阅读(107) 评论(0) 推荐(0)
摘要: 4.1.1 Xshell连接腾讯云运行抓包命令,网页客户端运行wget www.xju.edu.cn,并用http筛选抓包结果并分析 4.1.2 浏览器运行HTTP版本1还是1.1?服务器运行的是什么版本的HTTP? 1.浏览器(提交GET请求)版本1.1 2.服务器版本1.1 4.1.3 你的电脑 阅读全文
posted @ 2022-06-07 21:59 轩哥聊码 阅读(201) 评论(0) 推荐(0)
摘要: 4.1 查看和配置本机的DNS系统 4.1.1 查看本机DNS服务器 cat /etc/resolv.conf 4.1.2 修改DNS服务器 vim /etc/resolv.conf 按i进入编辑模式,添加完DNS后按ESC输入:wq 保存并退出 4.2 DNS信息测量 4.2.1 dig www. 阅读全文
posted @ 2022-06-07 14:36 轩哥聊码 阅读(239) 评论(0) 推荐(0)
摘要: 4.1 使用邮件代理收发邮件 4.1.1 登录网页版QQ邮箱,在设置点击账户,并打开POP3/IMAP/SMTP服务,需要用手机发送短信获取授权码来开启 4.1.2 登录outlook客户端,连接QQ邮箱 4.1.3选择IMAP 4.1.4 在4.1.1设置中点击生成授权码(已打码处理) 4.1.5 阅读全文
posted @ 2022-06-07 01:50 轩哥聊码 阅读(142) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 46 下一页