11 2021 档案

摘要:1.span标签:重点突出的字使用span标签套起来 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>2021-11-30</title> <style type="text/css"> #test{ font-size: 50 阅读全文
posted @ 2021-11-30 01:38 李林林 阅读(34) 评论(0) 推荐(0)
摘要:1.属性名,属性名=属性值(正则) = 是绝对等于 *= 是包含这个元素 ^= 以这个开头 $= 以这个结尾 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>2021-11-23</title> <style type="tex 阅读全文
posted @ 2021-11-24 00:17 李林林 阅读(120) 评论(0) 推荐(0)
摘要:1.层次模型: 2.层次选择器 1、后代选择器:在某个元素的后面 祖爷爷 爷爷 爸爸 你 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>2021-11-21</title> </head> <style type="text/ 阅读全文
posted @ 2021-11-21 23:09 李林林 阅读(35) 评论(0) 推荐(0)
摘要:1.标签选择器:选择一类标签 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>2021-11-19</title> <style type="text/css"> /*标签选择器会选择到也面上的所有标签*/ h1 { color 阅读全文
posted @ 2021-11-20 00:11 李林林 阅读(714) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>使用顺序: 行内最大,内部和外部遵循就近原则</title> <!-- 内部样式 --> <style type="text/css"> h1{ color: #000000; } 阅读全文
posted @ 2021-11-18 00:03 李林林 阅读(37) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Title</title> <!-- 规范,<style>中可以写css代码 ,每一个声明最好使用封号结尾 语法:选择器{ 声明1: 声明2: .... } <style type 阅读全文
posted @ 2021-11-17 23:41 李林林 阅读(19) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-14 22:48 李林林 阅读(15) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-14 22:12 李林林 阅读(19) 评论(0) 推荐(0)
摘要:#怎样使用持久层框架Mybatis呢?1.domain(实体类对应数据库表)2.mapper(接口)3.resource目录下的mapper(**mapper.xml编写对应的sql语句)4.free mybatis pluging(插件做代码跳转)#怎样让项目知道Mapper就是持久层呢?1.在启 阅读全文
posted @ 2021-11-14 00:12 李林林 阅读(48) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-13 23:07 李林林 阅读(23) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-13 23:00 李林林 阅读(29) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-13 22:52 李林林 阅读(40) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-11 23:23 李林林 阅读(23) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-11 00:58 李林林 阅读(32) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-11 00:33 李林林 阅读(42) 评论(0) 推荐(0)
摘要:1.Configer:用于存放SpringBoot相关的配置,包括启动类 2.Controller:所有请求的入口,前后端交互的入口 3.Service:逻辑层 4.Mapper(Dao):持久层,负责Java和数据库交互。包括interfice和xml俩类文件 5.Po(Domain):表映射实体 阅读全文
posted @ 2021-11-11 00:17 李林林 阅读(1080) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-10 23:44 李林林 阅读(30) 评论(0) 推荐(0)
摘要:配置项忘记了怎么办(默认的配置项): 阅读全文
posted @ 2021-11-10 23:25 李林林 阅读(148) 评论(0) 推荐(0)
摘要:1.这是springboot内置的,像application.properties也是内置的。 很多框架都会有约定好的一些配置文件名字,比如logback日志框架会识别logback.xml等 软件编程有一个原则:约定优于配置。 2.SpringBoot会自动识别下面这组配置文件 applicati 阅读全文
posted @ 2021-11-10 23:15 李林林 阅读(549) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>拼多多首页导航布局</title> <style type="text/css"> *{ /* 1.设置通配样式 */ padding: 0; margin: 0; } .box{ 阅读全文
posted @ 2021-11-10 21:16 李林林 阅读(417) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-10 20:04 李林林 阅读(26) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-10 19:57 李林林 阅读(26) 评论(0) 推荐(0)
摘要:在 HTML 中创建表单需要用到<form>标签,具体语法如下所示: <form action="URL" method="GET|POST"> 表单中的其它标签 </form> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8 阅读全文
posted @ 2021-11-10 19:53 李林林 阅读(55) 评论(0) 推荐(0)
摘要:1.<iframe> 标签的语法格式如下: <iframe src="url" width="m" height="n"></iframe> HTML <iframe> 示例: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" 阅读全文
posted @ 2021-11-10 19:36 李林林 阅读(33) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>HTML网页布局</title> <style> body { font: 14px Arial,sans-serif; margin: 0px; } head 阅读全文
posted @ 2021-11-10 00:47 李林林 阅读(20) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-10 00:43 李林林 阅读(13) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-10 00:37 李林林 阅读(29) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-10 00:28 李林林 阅读(19) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-10 00:23 李林林 阅读(27) 评论(0) 推荐(0)
摘要:Http Client结果验证: #> {% #client.test("test-hello", function() {//test-hello是测试名字 # client.log("测试/hello接口"); # client.log(response.body); # client.log( 阅读全文
posted @ 2021-11-09 23:36 李林林 阅读(98) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-09 23:25 李林林 阅读(1380) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-09 23:21 李林林 阅读(47) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-09 23:19 李林林 阅读(28) 评论(0) 推荐(0)
摘要:接口一般放在Controller层: @ResponseBody用来返回字符串或JSON对象 阅读全文
posted @ 2021-11-09 23:18 李林林 阅读(58) 评论(0) 推荐(0)
摘要:package com.jiawa.wiki.config; import org.mybatis.spring.annotation.MapperScan; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sp 阅读全文
posted @ 2021-11-09 22:51 李林林 阅读(68) 评论(0) 推荐(0)
摘要:1.区别:2.2.X版本,可以识别logback.xml,到2.3后只能用logback-spring.xml,将logback-spring.xml放到resources下会自动识别, 不需要额外的配置,代码如下: <?xml version="1.0" encoding="UTF-8"?> <c 阅读全文
posted @ 2021-11-09 22:47 李林林 阅读(150) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-09 00:18 李林林 阅读(37) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-09 00:02 李林林 阅读(21) 评论(0) 推荐(0)
摘要:项目结构: package com.redis.pojo; /** * 1.pojo对应的数据库表的实体类 * 2.Shop对应数据库shop表对应的实体类 */ public class Shop { private Integer id; private Double price; privat 阅读全文
posted @ 2021-11-07 21:50 李林林 阅读(364) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-07 21:17 李林林 阅读(26) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-06 22:19 李林林 阅读(34) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-06 01:05 李林林 阅读(34) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>2021-11-6</title> <style type="text/css"> *{ padding: 0; margin: 0; } .div1{ position: fix 阅读全文
posted @ 2021-11-06 00:47 李林林 阅读(48) 评论(0) 推荐(0)
摘要:在此特别说明一下list!=null和list.size()>0的区别:1.list==null,意味着list压根没有地址,在堆内就不存在。2.list.size()=0 意思堆内有list但是还没来得及放元素,其长度随着元素数量变化而变化,暂时为零。3.list如果为null的话,说明没有进行初 阅读全文
posted @ 2021-11-05 23:53 李林林 阅读(357) 评论(0) 推荐(0)
摘要:public List<T> findAll(String tableName) throws SQLException { String sb = "select * from " + tableName; //查询语句 Connection conn = mysqlConectComponent 阅读全文
posted @ 2021-11-05 23:48 李林林 阅读(448) 评论(0) 推荐(0)
摘要:package com.redis.subject.util; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.JedisPoolConfig; im 阅读全文
posted @ 2021-11-04 22:09 李林林 阅读(78) 评论(0) 推荐(0)