08 2019 档案

@RequestParam和@PathVariable的区别和使用
摘要:请求路径上的区别:很明显一个是 https:url ?键值对,一个是https:url /参数 ,区别很明显 @PathVariable主要用于接收http://host:port/path/{参数值}数据。@RequestParam主要用于接收http://host:port/path?参数名=参 阅读全文

posted @ 2019-08-23 21:30 Cherishforchen 阅读(6998) 评论(1) 推荐(1)

日志的使用
摘要:spring boot中如何配置https://blog.csdn.net/flysun3344/article/details/80555746 由于spring boot框架的特殊配置,所以无需向ssm框架一样,需要在配置文件中加载logback.xml,只要按照规范来命名就会自动加载 由于日志 阅读全文

posted @ 2019-08-22 20:03 Cherishforchen 阅读(308) 评论(0) 推荐(0)

http和webservice的区别和使用
摘要:待补充,webservice的好处就是跨平台调用,不是一种语言也可以互相调用,https://www.cnblogs.com/pony1223/p/7847323.html; https://blog.csdn.net/qq_18661793/article/details/52057344 阅读全文

posted @ 2019-08-15 09:23 Cherishforchen 阅读(626) 评论(0) 推荐(0)

过滤器和拦截器
摘要:参考文章:https://blog.csdn.net/zxd1435513775/article/details/80556034 拦截器过滤器监听器学习小地址:https://www.jianshu.com/p/365a65252bb9;https://www.jianshu.com/p/f216 阅读全文

posted @ 2019-08-13 19:57 Cherishforchen 阅读(427) 评论(0) 推荐(0)

spring注解@PostConstruct
摘要:该注解可以实现在运行工程时,自动运行该注解下的方法; @PostConstruct是java5的时候引入的注解,指的是在项目启动的时候执行这个方法,也可以理解为在spring容器启动的时候执行,可作为一些数据的常规化加载,比如数据字典之类的。 被@PostConstruct修饰的方法会在服务器加载S 阅读全文

posted @ 2019-08-10 10:53 Cherishforchen 阅读(30881) 评论(0) 推荐(2)

try catch的使用throws的使用
摘要:unchecked exception和checked exception的区别 所有异常类型都是 Throwable 类的子类,它包含Exception类和Error类,Exception又包括checked exception和unchecked exception。 unchecked exc 阅读全文

posted @ 2019-08-10 09:35 Cherishforchen 阅读(2278) 评论(0) 推荐(0)

消息队列的学习
摘要:https://blog.csdn.net/qq_43154385/article/details/89011224 https://www.jianshu.com/p/824066d70da8(这个讲的很不错) 来个个人通俗的解释吧。消息队列,顾名思义 首先是个队列。队列的操作有入队和出队 也就是 阅读全文

posted @ 2019-08-04 11:22 Cherishforchen 阅读(188) 评论(0) 推荐(0)

导航