上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 41 下一页
摘要: 概述 面试必问题其一,先看看源码。 重定向是向客户端发送一个指定URL的临时重定向的响应: public interface HttpServletResponse extends ServletResponse { /** * Sends a temporary redirect response 阅读全文
posted @ 2021-08-22 20:32 johnny233 阅读(53) 评论(0) 推荐(0)
摘要: 概述 宇宙第一神器。 Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099 不要使用IDEA内置的JDK即可解决问题。 C 阅读全文
posted @ 2021-08-22 19:50 johnny233 阅读(208) 评论(0) 推荐(0)
摘要: 概述 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot</artifactId> </dependency> 功能定位:拦截启动时异常,将异常转换成更加易读的信息并包装成org.sprin 阅读全文
posted @ 2021-08-22 18:40 johnny233 阅读(70) 评论(0) 推荐(0)
摘要: 最近在做一个项目优化与重构,测试同学在回归功能测试时,指出一个页面功能有Bug,并扔出日志: NPE嘛,这还不简单,根据日志记录的行数,定位到代码行数,都几乎不需要执行接口测试单步调试,几乎就可以确定修改方案如下: 于是,代码push,并提交Merge Request。 过了几分钟,测试再次反馈,还 阅读全文
posted @ 2021-08-19 22:40 johnny233 阅读(142) 评论(0) 推荐(0)
摘要: JDK5中加入Future用来获取异步执行结果。 Future public interface Future<V> { boolean cancel(boolean mayInterruptIfRunning); boolean isCancelled(); boolean isDone(); V 阅读全文
posted @ 2021-08-17 21:56 johnny233 阅读(57) 评论(0) 推荐(0)
摘要: 背景 单体应用,前端使用React框架,静态资源(JS,CSS等)都放在src\main\resources\static目录下面: .babelrc .gitignore .mvn node_modules package-lock.json package.json pom.xml src -- 阅读全文
posted @ 2021-08-14 16:06 johnny233 阅读(46) 评论(0) 推荐(0)
摘要: 概述 官网 GitHub jqplay提供一个在线的jq应用,检验jq表达式的正确性。 jq,轻量级的命令行JSON解析器。 jq is like sed for JSON data - you can use it to slice and filter and map and transform 阅读全文
posted @ 2021-08-09 23:10 johnny233 阅读(149) 评论(0) 推荐(0)
摘要: 概述 GitHub Gitee 官方文档 资源 快速入门:Fluent MyBatis使用入门 阿里云官网内容平台:Let’s Fluent:更顺滑的 MyBatis 系列文章:Fluent Mybatis, 原生Mybatis, Mybatis Plus三者功能对比 阅读全文
posted @ 2021-08-06 23:01 johnny233 阅读(63) 评论(0) 推荐(0)
摘要: 正则表达式(Regular expressions)本质上是一个微小的且高度专业化的编程语言,它被嵌入到高级语言中供程序员使用。正则表达式通过指定一些规则来描述那些你希望匹配的字符串集合,比如Email地址,IP地址。正则表达式的强大之处在于一些特殊符号的应用,特殊符号定义了字符集合、子组匹配、模式 阅读全文
posted @ 2021-08-04 23:24 johnny233 阅读(47) 评论(0) 推荐(0)
摘要: 概述 异步包括异步请求和异步调用。 异步请求与异步调用的区别 两者的使用场景不同,异步请求用来解决并发请求对服务器造成的压力,从而提高对请求的吞吐量;而异步调用是用来做一些非主线流程且不需要实时计算和响应的任务,如同步日志到kafka中做日志分析等。 异步请求是会一直等待response响应,需要返 阅读全文
posted @ 2021-08-04 22:10 johnny233 阅读(169) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 41 下一页