1. Besides ApplicationContextAware and BeanNameAware (discussed earlier), Spring offers a wide range of Aware callback interfaces that let beans indicate to the container that they require a certain infrastructure de ...

    阅读全文
  2. 本文链接:https://blog.csdn.net/strivezxq/article/details/44560771  把spring 相关类做了下整理,把spring主要涉及的类都整理成类图,方便查看它们之前的关系,也能帮助更好的阅读分析源码. 1. IOC容器 BeanFactory类图: 2.  资源Resource相关类图: 3. 资源加载器ResourceLoader相关类图: 4. spring Bean定义解析器相关: ...

    阅读全文
  3. 下面这篇文章对Controller的方法参数工作原理解释的非常不错,值得参阅。 https://www.cnblogs.com/fangjian0423/p/springMVC-request-param-analysis.html   另外,此处可以配合spring framework的官方文档中的Spring Web MVC->Annotation Controller->Handler Methods中的Method Arguments和Return ...

    阅读全文
  4. JAVA8的java.util.function包 https://www.cnblogs.com/linzhanfly/p/9686941.html java.util.function.Function的用法 https://www.jianshu.com/p/3c27dfd647f1 https://blog.csdn.net/huo065000/article/details/78964382 java8双冒号用法: https://www.jians ...

    阅读全文
  5. spring boot存放views的默认路径在哪呢? 写了一个简单Controller的ExceptionHandler,代码如下: 目的是访问/demoexception时估计抛出exception,被controller中定义的exceptionhandler捕获并返回给view error3来显示。 @Controller public class SelfExceptionController { @RequestMapping(&quo ...

    阅读全文
  6. Bcrypt password在线生成器:https://www.browserling.com/tools/bcrypt ...

    阅读全文
  7.   知乎的这篇文章<<在 2016 年学 JavaScript 是一种什么样的体验?>> https://zhuanlan.zhihu.com/p/22782487 注:原文是英文,本文是我翻译的。有人把我翻译的内容原文照抄,放到他自己的专栏,搞得有人问我是不是我抄袭了……请支持我的劳动成果,花了两个小时翻译的,谢谢。转载请注明译者为方应杭。 嘿,我最近接到一个 Web 项目,不过老实说,我这两年没怎么接触 W ...

    阅读全文
  8. 根据 https://github.com/nvm-sh/nvm 安装NVM时(Mac环境),安装完后执行nvm ls-remote返回N/A. (应该列出remote的nodejs版本信息)。 这是我的网络环境使用了proxy,设置代理后解决问题。 export http_proxy=http://proxyhost:port export https_proxy=http://proxyhost:port 这是我的case, 其他原因可以参考htt ...

    阅读全文
4142