2020年6月8日

摘要: 碎片原理: head.html页面要进行碎片化处理(th:fragment="fragment1" fragment1为index.html页面引用) <div th:fragment="fragment1"> <span style="background: aqua"> this is head 阅读全文
posted @ 2020-06-08 14:35 代我向西贝问好 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 1.首先导入命名空间(在html标签中) xmlns:th="http://www.thymeleaf.org" 2.基本使用 2.1简单数据 <label th:text="${str}"></label> 2.2对象数据 <label th:text="${Book.bookName}"></l 阅读全文
posted @ 2020-06-08 12:11 代我向西贝问好 阅读(167) 评论(0) 推荐(0) 编辑

2020年6月5日

摘要: 第一步:创建springboot项目(重点是为了使用注解) pom.xml中的内容,创建springboot项目的时候只需要选择web即可(也可以不选择) 第二步:创建starter的业务实现类 第三步:创建starter的自动类 第四步:在resource中创建MATE-INF目录,再在MATE- 阅读全文
posted @ 2020-06-05 17:23 代我向西贝问好 阅读(251) 评论(0) 推荐(1) 编辑

2019年4月25日

摘要: 1 package logistics.util; 2 3 import java.sql.Connection; 4 import java.sql.PreparedStatement; 5 import java.sql.ResultSet; 6 import java.sql.ResultSetMetaData; 7 import java.sql.SQLEx... 阅读全文
posted @ 2019-04-25 19:14 代我向西贝问好 阅读(258) 评论(0) 推荐(0) 编辑

2019年4月15日

摘要: controller service dao utils中包含BaseDao.java和EmpUtil.java BaseDao.java EmpUtil.java 阅读全文
posted @ 2019-04-15 09:35 代我向西贝问好 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 登录页面 跳转页面 阅读全文
posted @ 2019-04-15 09:29 代我向西贝问好 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 1 4 5 6 7 contextConfigLocation 8 classpath:applicationContext.xml 9 10 11 12 filterEncoding 13 org.springframework.web.filter.CharacterEncodingFil... 阅读全文
posted @ 2019-04-15 09:26 代我向西贝问好 阅读(745) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 7 8 9 %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n 10 11 12 13 14 15 16 ${LOG_HOME}/TestWeb.log.%d{yyyy-MM-dd}.log 17 18 30 19 20 21 22 %... 阅读全文
posted @ 2019-04-15 09:24 代我向西贝问好 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 1 2 19 21 22 23 24 25 26 27 28 29 30 ... 阅读全文
posted @ 2019-04-15 09:23 代我向西贝问好 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 1 db.name=root 2 db.password=root 3 db.url=jdbc:mysql://localhost:3306/day13?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull&useSSL=false 4 db.driverClassName=com.mysql.jdbc.... 阅读全文
posted @ 2019-04-15 09:22 代我向西贝问好 阅读(448) 评论(0) 推荐(0) 编辑

导航