摘要:
__________________________________________________________________________ https://www.jianshu.com/p/05c8be17c80a 前言 以往的javaEE增加Filter是在web.xml中配置,然而s 阅读全文
摘要:
@Value("${server.port}") 本文链接:https://blog.csdn.net/weixin_38342534/article/details/88698582 首先 @Value("${server.port}") 获取端口号没有任何问题,那么问题出在那呢,出在单元测试中!!! 你在单元测试中,调用的类或者方法这个地方获取到的端口号就会变成-1。 解决办法:在后面加上下属 阅读全文
摘要:
https://www.cnblogs.com/duanxz/p/3469511.html springboot 配置文件 .properties和.yml的写法区别 例如 : redis配置的properties或yml文件,如下: spring.redis.cluster.nodes[0]=19 阅读全文
摘要:
springboot 实例 https://blog.csdn.net/m0_38075425/article/details/81164930 https://www.cnblogs.com/Westfalen/p/6170312.html 1. web.xml文件中的配置 2.Character 阅读全文
摘要:
https://my.oschina.net/bianxin/blog/2876640 https://my.oschina.net/bianxin/blog/2876640 2.4版本的servlet规范在部属描述符中新增加了一个<dispatcher>元素,这个元素有四个可能的值:即REQUES 阅读全文