学习笔记(总)
整理好的学习笔记~
超级蛋炒饭炒蛋
这个作者很懒,什么都没留下…
展开
-
Error resolving template [login], template might not exist or might not be accessible by any of the
Error resolving template [login], template might not exist or might not be accessible by any of the configured Template Resolvers外部引入templates的模板资源后,测试访问显示错误: @GetMapping("login") public String login(){ return "login"; }解决方法:找一下配置原创 2021-12-05 16:57:48 · 6813 阅读 · 1 评论 -
thymeleaf格式化日期&传参写法&隐藏域
格式化日期<span th:text="${#dates.format(user.bir, 'yyyy-MM-dd HH:mm')}"></span> 日期格式化thymeleaf的传参格式- 常规方法,传多个参数不方便<a th:href="@{/employee/detail?id=}+${employee.id}+'&name='+${employee.name}">更新</a>- 推荐方法,自动拼接成 ?id=xxx<a原创 2021-12-08 00:05:12 · 853 阅读 · 0 评论 -
java生成验证码
验证码工具类//工具类package com.gct.utils;import javax.imageio.ImageIO;import java.awt.*;import java.awt.geom.AffineTransform;import java.awt.image.BufferedImage;import java.io.File;import java.io.FileOutputStream;import java.io.IOException;import java.i原创 2021-12-05 23:50:51 · 310 阅读 · 0 评论 -
Could not set property ‘id‘ of ‘‘ with value Cause: IllegalArgumentException: argument type mismatch
Could not set property ‘id’ of ‘class com.gct.eduservice.entity.EduSubject’ with value ‘1474747599637463041’ Cause: java.lang.IllegalArgumentException: argument type mismatch解决方法:查看id属性由于我数据库的id为String类型,所以需要设置type = IdType.ID_WORKER_STRtype = IdTyp原创 2021-12-25 22:33:22 · 1348 阅读 · 0 评论 -
springboot实现——图片上传并显示在页面
# 在配置文件中指定文件上传位置photo: file: dir: E:\IdeaProjects\maven\springboot\ems-thymeleaf2\photo//编写接口 @Value("${photo.file.dir}") private String realPath; @PostMapping("/save") public String save(Employee employee, MultipartFile img) throws IOE原创 2021-12-06 23:17:47 · 2024 阅读 · 0 评论 -
操作系统——笔记
操作系统笔记操作系统的功能、特征、分类操作系统体系结构、中断、进程、处理机调度、同步互斥问题死锁、存储管理文件系统、磁盘组织与管理I/O设备管理原创 2021-06-29 21:39:03 · 118 阅读 · 0 评论 -
通信原理——笔记
模拟通信系统调制载波信号一般为正弦波、余弦波AM频谱上是基带信号和一对冲激信号做卷积,卷积在频域上表现为搬移没有加入直流偏量A0时,就没有向上的那个箭头(Wc处)余弦信号的频谱是一对偶对称的冲激;正弦信号的频谱是一对奇对称的冲激;所有幅度调制都能使用相干解调;DSBSB=sideband边带ti’a不能使用包络检波SSB需要精确的滤波器,实现难度大;VSB频率调制FM:FM波的幅度恒定不变,这使得它对非线性器件不甚敏感,给FM带来了抗快衰落能力原创 2021-06-26 09:53:25 · 1536 阅读 · 0 评论 -
计算机网络——学习笔记
第一章 概述第二章 物理层第三章 数据链路层第四章 网络层第五章 运输层第六章 应用层原创 2021-06-21 17:21:40 · 141 阅读 · 0 评论