07 2021 档案

摘要:html中的“position:absolute”是绝对定位,一般配合“top”和“left”属性同时使用。 1、新建html文档,在body标签中添加一个div,然后在这个div中再添加一个div,这时默认情况下内div在外div的左上角: 2、为内div添加“position”属性,属性值为“a 阅读全文
posted @ 2021-07-31 20:25 清语堂 阅读(5222) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/lhb25/archive/2013/02/17/css3-linear-gradient.html 《CSS3 经典教程系列》的前一篇文章向大家详细介绍了 text-shadow 文本阴影特性的用法,今天这篇文章我们在一起来看看 CSS3 中实现渐变 阅读全文
posted @ 2021-07-30 15:38 清语堂 阅读(442) 评论(0) 推荐(0) 编辑
摘要:到底什么是选择器?通过常接触的CSS选择器和jQuery选择器理解一下,我们知道CSS是用于分离网页的结构和表现的,也就是说对于一个网页,HTML定义网页的结构,CSS描述网页的样子,一个很经典的例子是说HTML就像一个人的骨骼、器官,而CSS就是人的皮肤,有了这两样也就构成了一个植物人了,加上ja 阅读全文
posted @ 2021-07-28 14:44 清语堂 阅读(311) 评论(0) 推荐(0) 编辑
摘要:①document.getElementById("text").hide(); 实现不了,因为hide()是jquery对象的方法,js对象是没办法调用的 ②$("#text2").innerHTML = "jredu"; 同样也是实现不了,因为innerHTML是js对象的属性,jquery对象 阅读全文
posted @ 2021-07-27 09:41 清语堂 阅读(61) 评论(0) 推荐(0) 编辑
摘要:https://www.w3school.com.cn/css/css_pseudo_classes.asp https://api.jquery.com/attribute-contains-prefix-selector/ https://www.w3school.com.cn/css/css_ 阅读全文
posted @ 2021-07-25 10:09 清语堂 阅读(31) 评论(0) 推荐(0) 编辑
摘要:参见 : https://blog.csdn.net/a532672728/article/details/78057218 https://www.cnblogs.com/unknows/p/11276345.html 前端: <!--用table布局、 label的inline-block 对齐 阅读全文
posted @ 2021-07-23 07:00 清语堂 阅读(807) 评论(0) 推荐(0) 编辑
摘要:<!--用table布局、 label的inline-block 对齐input--> <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8" /> <titl 阅读全文
posted @ 2021-07-22 20:40 清语堂 阅读(535) 评论(0) 推荐(0) 编辑
摘要:后台通过Map向前台传递实体参数 实体:@Entity@Table(name = "tbl_user") public class User1 implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTI 阅读全文
posted @ 2021-07-22 16:15 清语堂 阅读(71) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/throwable/p/9434436.html 前提 在日常使用SpringMVC进行开发的时候,有可能遇到前端各种类型的请求参数,这里做一次相对全面的总结。SpringMVC中处理控制器参数的接口是HandlerMethodArgumentReso 阅读全文
posted @ 2021-07-22 11:05 清语堂 阅读(510) 评论(0) 推荐(0) 编辑
摘要:import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web 阅读全文
posted @ 2021-07-22 10:42 清语堂 阅读(5464) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/eeeeasy/article/details/81708600 有时候可能需要发ajax到后台,并且携带一些参数,如果参数数量少,我们可以直接在后台写参数。如果前台提交的是表单,我们可以利用spring mvc提供的封装参数的方法进行接收,但假如前台向后 阅读全文
posted @ 2021-07-22 10:21 清语堂 阅读(4926) 评论(0) 推荐(0) 编辑
摘要:Java Script 异步加载和同步加载 : https://blog.csdn.net/qq_17556735/article/details/114942406 阅读全文
posted @ 2021-07-22 08:55 清语堂 阅读(36) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/hdwang/p/7843405.html https://blog.csdn.net/niceyoo/article/details/89879288 https://www.cnblogs.com/taosir-daily/p/9874033.ht 阅读全文
posted @ 2021-07-21 20:22 清语堂 阅读(73) 评论(0) 推荐(0) 编辑
摘要:https://www.w3school.com.cn/css/pro_css_syntax.asp 选择器指向您需要设置样式的 HTML 元素。 p { color: red; text-align: center; } CSS 选择器 CSS 选择器用于“查找”(或选取)要设置样式的 HTML 阅读全文
posted @ 2021-07-21 06:49 清语堂 阅读(63) 评论(0) 推荐(0) 编辑
摘要:1、内部CSS样式 在html文件的head部分,用style标签包裹。作用范围和字面意思相同,仅限于本页面的元素 <head> <meta charset="utf-8" /> <title>测试</title> <style type="text/css"> div { width: 65px; 阅读全文
posted @ 2021-07-20 19:31 清语堂 阅读(119) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/wherwh/article/details/89380494 public interface ParaRepository extends JpaRepository<Para,String>{ @Modifying @Transactional @Q 阅读全文
posted @ 2021-07-20 11:05 清语堂 阅读(475) 评论(0) 推荐(0) 编辑
摘要:https://docs.spring.io/spring-data/jpa/docs/2.0.9.RELEASE/reference/html/#jpa.repositories 阅读全文
posted @ 2021-07-19 20:33 清语堂 阅读(32) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_40753536/article/details/81285046?utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromMachin 阅读全文
posted @ 2021-07-19 14:00 清语堂 阅读(30) 评论(0) 推荐(0) 编辑
摘要:https://mybatis.org/mybatis-3/zh/getting-started.html Springboot与MyBatis简单整合 :https://www.cnblogs.com/wangshen31/p/8744157.html 阅读全文
posted @ 2021-07-19 09:25 清语堂 阅读(26) 评论(0) 推荐(0) 编辑
摘要:service 是有用的相当于 xml配置中得bean id = service 也可以不指定 不指定相当于 bean id = com. service.service 就是这个类的全限定名,表示给当前类命名一个别名,方便注入到其他需要用到的类中;不加的话,默认别名就是当前类名,但是首字母小写 。 阅读全文
posted @ 2021-07-18 10:25 清语堂 阅读(1118) 评论(0) 推荐(0) 编辑
摘要:https://www.zhihu.com/question/39356740 1. @Autowired的默认装配 我们都知道在spring中@Autowired注解,是用来自动装配对象的。通常,我们在项目中是这样用的: package com.sue.cache.service; import 阅读全文
posted @ 2021-07-17 19:57 清语堂 阅读(268) 评论(1) 推荐(0) 编辑
摘要:重新Rubuild Project 停止在 运行时错误: 试着的解决方式 运行clean 、install 、运行。 运行正常!! 解决方法 删除 .idea ,重新打开项目 ,重新建立工程Rebuild Project ,信息如下: java: /E:/JPADemo/src/main/java/ 阅读全文
posted @ 2021-07-15 10:43 清语堂 阅读(3342) 评论(0) 推荐(1) 编辑
摘要:https://blog.csdn.net/qq_42873554/article/details/100182149?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162630638516780264085291%2522%252C 阅读全文
posted @ 2021-07-15 08:14 清语堂 阅读(2802) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/9a68281a3c84 HTTP 请求报文由3部分组成(请求行+请求头+请求体) HTTP请求报文 1是请求方法,GET和POST是最常见的HTTP方法,初次以外还包括 DELETE、HEAD、OPTIONS、PUT、TRACE,不过现在大部分的 阅读全文
posted @ 2021-07-15 06:55 清语堂 阅读(686) 评论(0) 推荐(0) 编辑
摘要:API接口1:添加一条记录 @PostMapping(path="/addUser") //用请求参数 @ResponseBody //必须加@RequestBody才能接收到postForObject发来的数据 public int addUser(@RequestBody User user) 阅读全文
posted @ 2021-07-14 10:55 清语堂 阅读(2053) 评论(0) 推荐(0) 编辑
摘要:https://uzong.blog.csdn.net/article/details/86689173?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-8.b 阅读全文
posted @ 2021-07-13 16:32 清语堂 阅读(47) 评论(0) 推荐(0) 编辑
摘要:理解RESTful接口 :https://www.cnblogs.com/ecs-console/p/13324085.html 传统url接口请求与RESTful风格的区别:https://blog.csdn.net/qq_43251032/article/details/102720392 Sp 阅读全文
posted @ 2021-07-13 16:00 清语堂 阅读(1427) 评论(0) 推荐(0) 编辑
摘要:日日日 阅读全文
posted @ 2021-07-13 10:17 清语堂 阅读(17) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_42748213/article/details/90485750 双击 MDK524a.EXE 安装包; 安装MCU Device 包 双击要按照的包 : Keil.STM32F1xx_DFP.2.2.0.pack,安装路径选择和KEIL5一样 同 阅读全文
posted @ 2021-07-12 08:31 清语堂 阅读(1514) 评论(0) 推荐(0) 编辑
摘要:来自:https://www.jianshu.com/p/3c79125cc5cc 首先,dao接口需要继承JpaRepository与paSpecificationExecutor。JpaSpecificationExecutor 方法列表 findOne(Specification<T> spe 阅读全文
posted @ 2021-07-11 15:27 清语堂 阅读(1065) 评论(0) 推荐(0) 编辑
摘要:建立Entity package com.example.jpademo.Entity; import lombok.Data; import javax.persistence.*; @Entity @Table(name="t_book") @Data public class Book { @ 阅读全文
posted @ 2021-07-11 15:12 清语堂 阅读(178) 评论(0) 推荐(0) 编辑
摘要:JAVA注解 : https://www.awaimai.com/2591.html HashMap : https://blog.csdn.net/qq_40574571/article/details/97612100 JAVA中final关键字的作用:https://www.cnblogs.c 阅读全文
posted @ 2021-07-11 14:47 清语堂 阅读(24) 评论(0) 推荐(0) 编辑
摘要:@Query注解及@Modifying注解: https://www.cnblogs.com/zhaobingqing/p/6864223.html JPA 数据模型定义(数据实体基础注解使用) : https://blog.csdn.net/qq330983778/article/details/ 阅读全文
posted @ 2021-07-11 14:27 清语堂 阅读(70) 评论(0) 推荐(0) 编辑
摘要:【postman】发送一个API请求: https://www.cnblogs.com/prince365/p/12144748.html 使用@RequestMapping返回中文乱码:https://blog.csdn.net/qq_38412354/article/details/899817 阅读全文
posted @ 2021-07-11 08:53 清语堂 阅读(24) 评论(0) 推荐(0) 编辑
摘要:@GetMapping是 一个组合注解,是@RequestMapping(method = RequestMethod.GET)的缩写。 @PostMapping是一个组合注解,是@RequestMapping(method = RequestMethod.POST)的缩写。 ps : Reques 阅读全文
posted @ 2021-07-11 07:31 清语堂 阅读(313) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/tweixi/p/13902918.html 阅读全文
posted @ 2021-07-11 07:11 清语堂 阅读(32) 评论(0) 推荐(0) 编辑
摘要:https://www.awaimai.com/2596.html 1、定义 Bean是Spring框架中最核心的两个概念之一(另一个是面向切面编程AOP) Spring 官方文档对 bean 的解释是: In Spring, the objects that form the backbone o 阅读全文
posted @ 2021-07-09 18:47 清语堂 阅读(1159) 评论(0) 推荐(0) 编辑
摘要:https://geek-docs.com/spring-boot/spring-boot-tutorials/requestparam.html 阅读全文
posted @ 2021-07-09 09:11 清语堂 阅读(41) 评论(0) 推荐(0) 编辑
摘要:容器,顾名思义,简单来说,就是放对象,拿对象。Spring容器就是管理放进容器中的对象的。 Spring容器是Spring的核心,一切Spring bean都存储在Spring容器内,并由其通过IoC技术管理。Spring容器也就是一个bean工厂(BeanFactory)。应用中bean的实例化, 阅读全文
posted @ 2021-07-08 17:11 清语堂 阅读(1686) 评论(0) 推荐(0) 编辑
摘要:datasource spring.dao.exceptiontranslation.enabled是否开启PersistenceExceptionTranslationPostProcessor,默认为true spring.datasource.abandon-when-percentage-f 阅读全文
posted @ 2021-07-06 15:36 清语堂 阅读(601) 评论(0) 推荐(0) 编辑
摘要:一、建立项目 依赖项选择: pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XML 阅读全文
posted @ 2021-07-06 14:17 清语堂 阅读(844) 评论(0) 推荐(0) 编辑
摘要:原文:https://blog.csdn.net/zc1320030382/article/details/78366370?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Ed 阅读全文
posted @ 2021-07-05 16:00 清语堂 阅读(133) 评论(0) 推荐(0) 编辑
摘要:原文:https://blog.csdn.net/orecle_littleboy/article/details/82458956 ORM简介 ORM(Object Relational Mapping,对象关系映射)模式是一种为了解决面向对象与关系数据库存在的互不匹配的技术。简单的说,ORM是通 阅读全文
posted @ 2021-07-05 14:36 清语堂 阅读(4770) 评论(0) 推荐(0) 编辑
摘要:在JDBC中通常用Statement类的对象实现对数据库的更新(增、删、查、改)操作 //1、获取数据库连接 connection = getConnection(); //2、准备sql语句 String sql = null; // sql = "INSERT INTO custom(NAME, 阅读全文
posted @ 2021-07-05 11:17 清语堂 阅读(153) 评论(0) 推荐(0) 编辑
摘要:说明:Statement stmt = con.createStatement( ResultSet. TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); 通用格式为:Statement stmt=con.createStatement(int 阅读全文
posted @ 2021-07-05 08:11 清语堂 阅读(684) 评论(0) 推荐(0) 编辑
摘要:https://docs.microsoft.com/zh-cn/sql/connect/jdbc/updating-large-data-sample?view=sql-server-ver15 备注 Microsoft JDBC Driver for SQL Server 提供四个类库文件:sq 阅读全文
posted @ 2021-07-05 08:07 清语堂 阅读(195) 评论(0) 推荐(0) 编辑
摘要:把异常抛给调用它的地方,调用 的地方就必须try catch,不然编译都不过。。这样代码就更健壮了。 阅读全文
posted @ 2021-07-04 10:19 清语堂 阅读(691) 评论(0) 推荐(0) 编辑
摘要:https://docs.microsoft.com/zh-cn/sql/connect/jdbc/reading-large-data-with-stored-procedures-sample?view=sql-server-ver15 package com.example.wfydemo.c 阅读全文
posted @ 2021-07-03 16:39 清语堂 阅读(559) 评论(0) 推荐(0) 编辑
摘要:标准 SQL 都提供了下面这种方式一条 INSERT INTO 语句插入多条记录 INSERT INTO Customers(Id, Name, Age) VALUES (1, 'Name1', 21.5), (2, 'Name2', 32.3) VALUES 之后用括号列出每一条记录。但是在 Ja 阅读全文
posted @ 2021-07-03 16:01 清语堂 阅读(757) 评论(0) 推荐(0) 编辑
摘要:https://docs.microsoft.com/zh-cn/sql/connect/jdbc/caching-result-set-data-sample?view=sql-server-ver15 此 Microsoft JDBC Driver for SQL Server 示例应用程序说明 阅读全文
posted @ 2021-07-03 11:32 清语堂 阅读(403) 评论(0) 推荐(1) 编辑
摘要:package com.example.wfydemo.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation. 阅读全文
posted @ 2021-07-03 11:30 清语堂 阅读(108) 评论(0) 推荐(0) 编辑
摘要:原文 :https://blog.csdn.net/weixin_42245375/article/details/102813200 一、常见数据库驱动 1.比较(1)Statement操作数据库:增删改:executeUpdate()查询:executeQuery(); (2)PreparedS 阅读全文
posted @ 2021-07-03 08:31 清语堂 阅读(593) 评论(0) 推荐(0) 编辑
摘要:程序实现ContentHandler接口并且使用 setContentHandler 方法,向 SAX 解析器注册一个实例。解析器将使用该实例报告与基本文档相关的事件,如启动和终止元素与字符数据。 此接口中的事件顺序非常重要,它本身可镜像文档中信息的顺序。例如,在 startElement 事件与相 阅读全文
posted @ 2021-07-01 09:30 清语堂 阅读(581) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示