摘要: /** * @Description: 时间格式转换处理类 */ public class DateUtil { //String-->Date 时间字符串转为 -yyyy-MM-dd HH:mm:ss-的时间格式 public Date strToDate(String dateStr) { Da 阅读全文
posted @ 2021-04-25 15:21 8ling1ling 阅读(85) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/sqh17/p/8529401.html 阅读全文
posted @ 2021-03-15 11:10 8ling1ling 阅读(23) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/qq254980080/p/9773938.html 阅读全文
posted @ 2021-03-15 11:09 8ling1ling 阅读(22) 评论(0) 推荐(0)
摘要: 1、 服务启动 systemctl start docker 2、帮助命令 docker version docker info docker --help 3、镜像命令 docker images docker search xxx docker pull xxx docker rmi -f xx 阅读全文
posted @ 2021-02-19 15:19 8ling1ling 阅读(49) 评论(0) 推荐(0)
摘要: 一、 1、pwd:显示当前所在目录 2、ls:显示当前目录下的所有文件 3、ll:显示当前目录下的所有文件的详细信息 4、cp:拷贝 支持拷贝的同时支持重命名 5、mkdir:创建文件夹 6、touch:创建文件 7、rm -rf:删除所有的文件及其文件夹 8、mv:剪切、重命名 9、find:查找 阅读全文
posted @ 2021-02-19 11:41 8ling1ling 阅读(52) 评论(0) 推荐(0)
摘要: 多个servlet之间调用规则 1,前提条件: 某些来自浏览器的请求,需要服务端中多个servlet协同处理,但是浏览器一次只能发送一个请求,导致需要手动通过浏览器多次发送请求之服务器获取服务。 2,调用规则: 无论涉及到多少个servlet,用户只需手动 通知浏览器发送一次请求即可。 3,多个se 阅读全文
posted @ 2021-02-15 17:24 8ling1ling 阅读(87) 评论(0) 推荐(0)
摘要: 1)事务的4个特性:原子性 一致性 隔离性 持久性 Spring 事务的默认回滚方式是:发生运行时异常和 error 时回滚,发生受查(编译)异常时 提交。 2)事务隔离级别 : 读未提交 :能够读取到没有被提交的数据; 读已提交 :即能够读到那些已经提交的数据,自然能够防止脏读,但是无法限制不可重 阅读全文
posted @ 2021-02-07 13:18 8ling1ling 阅读(333) 评论(0) 推荐(0)
摘要: 配置文件 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins 阅读全文
posted @ 2021-02-05 18:25 8ling1ling 阅读(91) 评论(0) 推荐(0)
摘要: public void findStudent() { Connection conn = null; Statement stmt = null; ResultSet rs = null; try { //注册 mysql 驱动 Class.forName("com.mysql.jdbc.Driv 阅读全文
posted @ 2021-02-04 14:11 8ling1ling 阅读(297) 评论(0) 推荐(0)
摘要: public class Request extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, I 阅读全文
posted @ 2021-02-02 09:10 8ling1ling 阅读(73) 评论(0) 推荐(0)