liuByte
码龄10年
关注
提问 私信
  • 博客:13,323
    社区:1
    13,324
    总访问量
  • 23
    原创
  • 1,070,436
    排名
  • 2
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:陕西省
  • 加入CSDN时间: 2014-11-11
博客简介:

qq_23175673的博客

查看详细资料
个人成就
  • 获得7次点赞
  • 内容获得4次评论
  • 获得41次收藏
创作历程
  • 11篇
    2021年
  • 12篇
    2020年
成就勋章
TA的专栏
  • 后台
  • mybatis
    3篇
  • druid数据源
    2篇
  • thymleaf
    1篇
  • 公共页
    1篇
  • java
  • python
    1篇
兴趣领域 设置
  • 服务器
    linux
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

jdk8,java8,java运行环境

发布资源 2022.07.22 ·
gz

springboot-整合mybatis-混合模式-10

1.controller中添加请求路径 @ResponseBody @PostMapping("/city") public City saveCity(City city){ cityService.saveCity(city); return city; } 2.添加service package com.atguigu.admin.service; @Service public class CityService { @Aut
原创
发布博客 2021.05.29 ·
169 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

springboot-整合mybatis-纯注解法-09

1.创建与数据库对应的bean public class City { private long id; private String name; private String state; private String country; } 2.创建mapper文件com.atguigu.admin.mapper.CityMapper @Mapper @Mapper public interface CityMapper { @Select("select *
原创
发布博客 2021.05.29 ·
171 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot-整合mybatis-配置文件法-08

1.导入依赖 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.4</version> </dependency>
原创
发布博客 2021.05.29 ·
197 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot-druid-spring boot start整合数据源-07

0.用法: 首先找到DruidDataSourceAutoConfigure.java 根据其中四个导入的类,来找到需要的配置,然后配置到yaml文件中 @Import({DruidSpringAopConfiguration.class, DruidStatViewServletConfiguration.class, DruidWebStatFilterConfiguration.class, DruidFilterConfiguration.class}) 1.主配置文件 /
原创
发布博客 2021.05.28 ·
187 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot-druid-自定义整合数据源-06

1。自定义数据源配置 /*MyDataSourceConfig.java*/ package com.atguigu.admin.config; import com.alibaba.druid.pool.DruidDataSource; import com.alibaba.druid.support.http.StatViewServlet; import com.alibaba.druid.support.http.WebStatFilter; import org.springframework.
原创
发布博客 2021.05.28 ·
147 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot-thymleaf-web原生组件注入-05

1.使用servlet API 1.1 在主程序入口添加@ServletComponentScan(basePackages = "com.atguigu.admin")注解,标注要扫描servlet的包 @ServletComponentScan(basePackages = "com.atguigu.admin") @SpringBootApplication public class Boot05WebAdminApplication { public static void main(St
原创
发布博客 2021.05.27 ·
119 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot-thymleaf-拦截器-04

登录检查和静态资源放行 //AdminWebConfig.java package com.atguigu.admin.config; import com.atguigu.admin.interceptor.LoginInterceptor; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorReg
原创
发布博客 2021.05.27 ·
115 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot-thymleaf-web循环遍历-03

<table class="display table table-bordered" id="hidden-table-info"> <thead> <tr> <th>#</th> <th>用户名</th> <th>密码</th> </tr> ...
原创
发布博客 2021.05.27 ·
121 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot后台管理系统实现公共页-02

首先,要确定导入了thymeleaf依赖: <html lang="en" xmlns:th="http://www.thymeleaf.org"> 公共头(用 thymeleaf 的 th:fragment 标签实现) <head th:fragment="commonheader"> <meta charset="UTF-8"> <title>Title</title> <link href="css/styl
原创
发布博客 2021.05.26 ·
193 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot后台管理系统登录功能实现-01

pom依赖 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> <dependency&
原创
发布博客 2021.05.26 ·
547 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

JAVA环境下,使用jsoup获取网页中特定内容

晚上刷抖音看到TVB电视剧《大时代》的短片,突然想刷全集了,就在网上找资源。 常用的APP上都没有,只有一些磁力网站上有(《大时代》)。但是有个问题,迅雷的批量下载功能不能用,只能一个一个点,那就比较麻烦了。毕竟这个电视剧有40集,那我还要去点击40遍下载么? 这里,我选择用java来集体获取这些下载连接,然后整个复制,就可以一次性下载全集了。 以下是思路和代码: 首先,F12分析网页,得知整个下载区域是属于“downul”这个标签下面。 然后,就先获取"downul"下的内容。 接着,找到下载连接子
原创
发布博客 2021.02.08 ·
590 阅读 ·
0 点赞 ·
0 评论 ·
3 收藏

ssm项目配置文件(spring,mybatis,springmvc)

发布资源 2020.12.01 ·
zip

【笔记】SpringMVC-json

json乱码问题配置 <mvc:annotation-driven> <mvc:message-converters register-defaults="true"> <bean class="org.springframework.http.converter.StringHttpMessageConverter"> <constructor-arg value="UTF-8"/&g
原创
发布博客 2020.11.30 ·
91 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

泛型在集合上的使用

1.泛型 一般用在集合上 比如把一个集合里面的值放在一个集合里,这个时候,这个值放入集合之后,失去本身的类型,只能是Object类型 这个时候,想要对这个值进行类型转换,很容易出现类型转换错误,这个时候就可以使用泛型来解决这个问题 在集合上如何使用? 常用集合:list set map 泛型语法 集合<String> 比如 List<String> 在list上使用泛型 (list的三种实现:ArrayList,linkedList,Vector)
原创
发布博客 2020.05.26 ·
509 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

JavaScript笔记06

1.schema约束 dtd语法: <!ELEMENT 元素名称 约束> schema符合xml的语法,xml语句 一个xml中,可以有多个schema.多个schema使用名称空间来区分(类似于java包名) dtd里面有PCDATA类型,但是在schema里面可以支持更多的数据类型 比如 年龄只能是整数,在schema可以直接定义一个整数类型 schema语法更加复杂,目前还不能替代dtd 2.schema的快速入门 创建
原创
发布博客 2020.05.25 ·
195 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

JavaScript笔记05

14.xml解析 技术:dom和sax dom解析xml文件和解析js文件一样,但是由于xml可以操作数据,会存在内存溢出的可能,所以使用dom解析会存在一定的问题 sax解析: 采用事件驱动,边读边解析,从上到下,一行一行解析 解析到一个对象,把对下个名称返回 优点: 不会造成内存溢出,方便实现查询 缺点:
原创
发布博客 2020.05.23 ·
137 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

JavaScript笔记04

1.表单的提交方式 使用submit提交 <form> <input type="submit"/> </form> 使用超链接提交 <a href="hello.html?username=123345">使用超链接提交</a> onclick: //鼠标点击事件 onchange: 改变内容(一般和select一起使
原创
发布博客 2020.05.23 ·
127 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

JavaScript笔记03

1.案例一:在末尾添加节点 第一步:获取到ul标签 第二部:获取到li标签 document.createElement("标签名称")方法 第三步: 创建文本 document.createTextNode("文本内容") 第四步:把文本添加到li下面 使用appendChild()方法 第五步:把li添加到ul末尾 使用appendChild()方法 2.元素对象(element对象) 要操
原创
发布博客 2020.05.23 ·
216 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

JavaScript弹窗案例

需求: 需求 1.创建一个页面(window.html) 有两个输入项和一个按钮 按钮上有一个事件,弹出一个新窗口 open 2.创建弹出页面(user.html) 表格 每一行有一个按钮、编号和姓名 按钮上有一个事件,把当前的编号和姓名赋值到第一个页面相应的位置 window.html <!DOCTYPE html> <html lang="en"&g
原创
发布博客 2020.05.21 ·
311 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏
加载更多