自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Ubuntu SSH免密登陆其它服务器

在本机生成ssh公钥密钥ssh-copy-id 命令可以把本地主机的公钥复制到远程主机的authorized_keys 文件上authorized_keys 文件用来验证client

2022-07-05 19:12:27 521 1

原创 SpringBoot + Thymeleaf解析模板 发送邮件

1. 项目目录2. 类Email 处理前端请求@Controllerpublic class Email { private EmailService emailService; public Email(EmailService emailService) { this.emailService = emailService; } @GetMapping("/") public String index() { ret

2022-04-29 20:42:20 4325

原创 Spring + Thymeleaf 发送邮件

1 Pom等未展示的内容可见此处2 EmailService 处理邮件逻辑@Servicepublic class EmailService { private TemplateEngine emailTemplateEngine; public EmailService(SpringTemplateEngine emailTemplateEngine) { this.emailTemplateEngine = emailTemplateEngine;

2022-04-29 16:23:14 2636

原创 Spring MailSender发送邮件(Gmail)

1 pom.xml载入依赖<dependencies> <dependency> <groupId>org.thymeleaf</groupId> <artifactId>thymeleaf-spring5</artifactId> <version>3.0.15.RELEASE</version> </dependenc

2022-04-29 14:24:45 922

原创 关于ISBN

ISBN(International Standard Book Number)历史一开始是Standard Book Number。由 Gordon Foster, Emeritus Professor of Statistics at Trinity College Dublin创建于1965年。ISBN由英国的 David Whitaker(regarded as the “Father of the ISBN”)构思。SBN码转成ISBN码只需在前加个02007年1月1日起,ISBN由1

2022-04-28 00:36:32 182

原创 EL获取对象属性

如果对象的属性名为PageNo,则EL无法获取到属性并报错需改为pageNo暂不知道原因

2021-11-03 17:51:22 181

原创 关于字符流读取二进制文件

方法test1用于往“test.a”文件写入整数@Testpublic void test1() { FileOutputStream fos = null; try { fos = new FileOutputStream("test.a"); fos.write(7870); } catch (IOException e) { e.printStackTrace(); } finally { try .

2021-10-08 19:29:08 414 1

原创 Java基础-笔记Day2

4不能直接输出null(空常量)数据类型:byteshortint(default)longfloatdouble(default)charboolean1(c++:none)248(c++:4)482(c++:1)1(c++:bool)整数数字——默认为int,此时定义long需加L浮点数字——默认为double。。long a = 100L;float b = 1.2f;标识符可为_和$小驼峰:方法、变量~firstNa.

2021-09-03 01:11:02 98

Java笔记.docx

Java笔记.docx

2021-09-16

空空如也

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

TA关注的人

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