会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
linxiaofeng
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2022年9月15日
docker-compose.yml
摘要: version: '3.7' services: #mysql #服务名,自定义 mysql: image: mysql:5.7.25 container_name: mysql restart: always volumes: - /tmp/mysql/conf/hmy.cnf:/etc/mysq
阅读全文
posted @ 2022-09-15 12:26 linxiaofeng
阅读(23)
评论(0)
推荐(0)
2022年9月7日
redis
摘要: Redis的数据类型 String 1.set name zhangsan 2.get name 3.setex name 5 zhangsan --设置时间为5秒 4.getset name zhangsan --给name设置值为张三,并且返回原来的值 5.setnx name zhangsan
阅读全文
posted @ 2022-09-07 20:58 linxiaofeng
阅读(27)
评论(0)
推荐(0)
2022年9月2日
时间工具类
摘要: package com.app.common.util; import java.text.DecimalFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Cale
阅读全文
posted @ 2022-09-02 15:30 linxiaofeng
阅读(40)
评论(0)
推荐(0)
2022年8月5日
springboot的依赖
摘要: <!-- 老师的私服,粘贴在pom.xml的projiect标签下 --> <repositories> <repository> <!-- 依赖仓库id,不可重复。repositories可以配置多个仓库,如果ID重复后面配置会覆盖之前的配置 --> <id>dependencies_Reposi
阅读全文
posted @ 2022-08-05 16:13 linxiaofeng
阅读(421)
评论(0)
推荐(0)
2022年7月31日
Spring的单元测试Text代码
摘要: //【第二步】使用Spring整合Junit专用的类加载器 @RunWith(SpringJUnit4ClassRunner.class) //【第三步】加载配置文件或者配置类 @ContextConfiguration(classes = {SpringConfiguration.class})
阅读全文
posted @ 2022-07-31 11:39 linxiaofeng
阅读(69)
评论(0)
推荐(0)
2022年7月29日
spring的相关依赖
摘要: spring基础 <!--导入spring的坐标spring-context,对应版本是5.2.10.RELEASE--> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifact
阅读全文
posted @ 2022-07-29 11:46 linxiaofeng
阅读(180)
评论(0)
推荐(0)
2022年7月20日
JSON的fastjson依赖
摘要: <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.62</version> </dependency>
阅读全文
posted @ 2022-07-20 20:14 linxiaofeng
阅读(270)
评论(0)
推荐(0)
AXIOS的前端js文件
摘要: /* axios v0.18.0 | (c) 2018 by Matt Zabriskie */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeo
阅读全文
posted @ 2022-07-20 11:03 linxiaofeng
阅读(49)
评论(0)
推荐(0)
AJAX和AXIOS前端代码块
摘要: 这是AJAX xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET", "http://localhost:8080/AJAXServlet", true); xmlhttp.send(); xmlhttp.onreadystatechange = fu
阅读全文
posted @ 2022-07-20 10:38 linxiaofeng
阅读(29)
评论(0)
推荐(0)
2022年7月15日
web中的文件下载
摘要: 7.1 原理 浏览器如果能够解析目标资源,则直接打开;如果不能解析,则出现下载 7.2 如何实现下载 告知浏览器不要解析目标资源,那么这个目标资源就会被下载 //告知浏览器不要解析目标资源 response.setHeader("Content-Disposition","attachment;fi
阅读全文
posted @ 2022-07-15 13:42 linxiaofeng
阅读(117)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告