1. 本文简单介绍jetty以及提供一个简单的嵌入部署jetty的java application. jetty是一个portable,lightweight, robust, flexible, extensible and easy to integrate的servlet container. 它可以像tomcat一样部署为一个standalone web server,也可以嵌入到一个应用程序中去。它也支持SPDY, WebSocket, OSGi, JMX, JNDI, JAAS。目前 ...

    阅读全文
  2. 优雅REST风格的资源URL不希望带 .html 或 .do 等后缀.由于早期的Spring MVC不能很好地处理静态资源,所以在web.xml中配置DispatcherServlet的请求映射,往往使用 *.do 、 *.xhtml等方式。这就决定了请求URL必须是一个带后缀的URL,而无法采用真正的REST风格的URL。 如果将DispatcherServlet请求映射配置为"/",则Spring MVC将捕获Web容器所有的请求,包括静态资源的请求,Sprin ...

    阅读全文
  3. ionicframework2021-01-08
    37230

    学习ionic的文档 https://ionicframework.com/ ...

    阅读全文
  4. 先来段闲话 这两天在学《王者荣耀》的配音,一时兴起,被荣耀里的界面吸引住了,里面的那种气焰效果随风飘飘,很适合我的性格。于是来段js fire effective的研究。 google带我来到了http://creativejs.com/ 认识了creativejs,被它的首页里的logo展示吸引了,于是看了下去源码实现,然后,然后就返现了THREE这个Object, 再然后就在相关的google中发现了http://jeromeetienne.github.io/fireworks ...

    阅读全文
  5. 问题:eclipsephp打开某个workspace时hang住,不能打开eclipse. 能成功打开其他workspace. 解决方法: 1. 查看log.  进入该workspace文件夹->.metadata->.log !ENTRY org.eclipse.core.resources 2 10035 2018-05-05 15:00:29.044 10 !MESSAGE The workspace exited with unsaved ...

    阅读全文
  6. UML工具2019-09-06

    plantUML:http://plantuml.com/zh/class-diagram。 PlantUML是一个开源项目,支持快速绘制UML各类图表以及一些非UML图表。 plantText: https://www.planttext.com/ 是一个在线网站,可以用来设计UML以及生成代码。 UML图表有: 时序图 用例图 类图 活动图  组件图 状态图 对象图 部署图  定时图&n ...

    阅读全文
  7. 启动SoapUI5.3后几秒钟后crash重启。重启后仍然不工作。 后台hs_err_pidxxxx.log内容如下: [134 Michal-MBP:Applications kolisko$ SoapUI-5.3.0.app/Contents/MacOS/JavaApplicationStub Configuring log4j from [/Applications/SoapUI-5.3.0.app/Contents/java/app/bin/soapui-log4j. ...

    阅读全文
  8.   Vedio:https://learning.oreilly.com/videos/redis-bootcamp-for/9781800202009/9781800202009-video11_1 Redis思维导图   redis学习文档:https://www.runoob.com/redis/redis-hyperloglog.html   ...

    阅读全文
  9. 现需要设计这样一个component组件,要求该组件有4部分组成: 1. 背景视频 2.一层蒙板 3.顶层文字描述 html结构如下 <div class="container"> <video class="backgroundVideo" muted autoplay loop> <source src="/imgs/BeachRockVideo.mp4" ...

    阅读全文
  10. 参考文档https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-centos-7 https://www.digitalocean.com/community/tutorials/initial-server-setup-with-centos-7 Step 1 — Installing Docker (使用Non-root user with sudo privi ...

    阅读全文
  11. http://www.zhangxinxu.com/study/201503/css3-object-fit.html 这篇博客很好的演示了object-fit的各种设置。博主有很不错的前端笔记。 The object-fit property defines how an element responds to the height and width of its content box. It's intended for images, videos and ot ...

    阅读全文
  12. 在使用spring boot 来new一个springApplication时会读取classpath中的 META-INF/spring.factories中定义的Spring Factories. 比如ApplicationContextInitializers和ApplicationListeners. 下面是spring-boot-2.1.6.RELEASE.jar中默认的spring.factories # PropertySource Loaders org.spring ...

    阅读全文
  13. 虽然使用了云主机已经五六年了,先后租用过电信的天翼云,腾讯的腾讯云,阿里的阿里云,仍然对云的理解还是个外行。最大的感触就是越来越便宜了。当初的天翼云一个1G1G2M的配置就要2000多,现在阿里的双核8G8G5M三年也只要1000出头点。腾讯云也在发力,不缺钱。京东云估计也不缺钱但缺人才。 本外行试图来分析一下当今云时代的各路枭雄的发展现状。先看看Azure, Google, AWS, 阿里云,腾讯云,最后再看看不起眼的Oracle云。 所有信息来源于各自的官方网站,先由表及里慢慢熟 ...

    阅读全文
  14. 简易学习一下markdown文档格式 https://www.runoob.com/markdown/md-tutorial.html https://typora.io/ ...

    阅读全文
  15. EGD: entropy gathering device 获取熵的设备 (熵池策略) 这些设备有: file:/dev/random  (阻塞式随机设备,依赖约硬件设备) file:/dev/urandom (非阻塞式随机设备)  file:/dev/./urandom(非阻塞式随机设备) https://www.baeldung.com/java-security-egd ...

    阅读全文
  16. 22610

      问题描述 连接mysql8.0+时出现的错误,报Public Key Retrieval is not allowed java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110) at com.m ...

    阅读全文
  17. 方法一:reboot 方法二: shutdown -r now ...

    阅读全文
  18. linux下mysql启动的方法有几种(windows和mac下启动比较方便): mysqld — The MySQL Server mysqld_safe — MySQL Server Startup Script mysql.server — MySQL Server Startup Script mysqld_multi — Manage Multiple MySQL Servers 当然还有通过service来起mys ...

    阅读全文
  19. 本文是学习Spring Testing官方文档的知识点摘要。官方文档:https://docs.spring.io/spring/docs/current/spring-framework-reference/testing.html#testing 关键词:Mock Objects, TestContext Framework, Spring MVC Test, WebTestClient   1. Introduction to Spring Testing ...

    阅读全文